Show More
@@ -785,11 +785,8 b' class LargeFileNode(FileNode):' | |||||
785 |
|
785 | |||
786 | @LazyProperty |
|
786 | @LazyProperty | |
787 | def raw_bytes(self): |
|
787 | def raw_bytes(self): | |
788 | if self.commit: |
|
788 | with open(self.path, 'rb') as f: | |
789 | with open(self.path, 'rb') as f: |
|
789 | content = f.read() | |
790 | content = f.read() |
|
|||
791 | else: |
|
|||
792 | content = self._content |
|
|||
793 | return content |
|
790 | return content | |
794 |
|
791 | |||
795 | @LazyProperty |
|
792 | @LazyProperty |
General Comments 0
You need to be logged in to leave comments.
Login now