nodes: fetching largefiles content is commit independent because the pointes is
unique id itself.
This commit is contained in:
parent
7ab84fa130
commit
d321c7d65d
1 changed files with 2 additions and 5 deletions
|
|
@ -785,11 +785,8 @@ class LargeFileNode(FileNode):
|
|||
|
||||
@LazyProperty
|
||||
def raw_bytes(self):
|
||||
if self.commit:
|
||||
with open(self.path, 'rb') as f:
|
||||
content = f.read()
|
||||
else:
|
||||
content = self._content
|
||||
with open(self.path, 'rb') as f:
|
||||
content = f.read()
|
||||
return content
|
||||
|
||||
@LazyProperty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue