Fix diff error
This commit is contained in:
parent
889c88c492
commit
4514154364
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ class ContentManager(object):
|
||||||
# Get diffs for changed files
|
# Get diffs for changed files
|
||||||
def getDiffs(self, inner_path, limit=30 * 1024, update_files=True):
|
def getDiffs(self, inner_path, limit=30 * 1024, update_files=True):
|
||||||
if inner_path not in self.contents:
|
if inner_path not in self.contents:
|
||||||
return None
|
return {}
|
||||||
diffs = {}
|
diffs = {}
|
||||||
content_inner_path_dir = helper.getDirname(inner_path)
|
content_inner_path_dir = helper.getDirname(inner_path)
|
||||||
for file_relative_path in self.contents[inner_path].get("files", {}):
|
for file_relative_path in self.contents[inner_path].get("files", {}):
|
||||||
|
|
Loading…
Reference in a new issue