forked from adamm/git-importer
Code cleanup
This commit is contained in:
@@ -42,7 +42,7 @@ class GitExporter:
|
||||
if os.path.exists(self.state_file):
|
||||
with open(self.state_file) as f:
|
||||
state_data = yaml.safe_load(f)
|
||||
if type(state_data) != dict:
|
||||
if not isinstance(state_data, dict):
|
||||
state_data = {}
|
||||
left_to_commit = []
|
||||
for flat in reversed(flats):
|
||||
|
Reference in New Issue
Block a user