mirror of
https://github.com/frej/fast-export.git
synced 2026-01-31 02:19:02 +01:00
Trivial style cleanup
Checking the array directly is more idiomatic. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
@@ -334,7 +334,7 @@ def export_commit(ui,repo,revision,old_marks,max,count,authors,
|
||||
man=ctx.manifest()
|
||||
added,changed,removed,type=[],[],[],''
|
||||
|
||||
if len(parents) == 0:
|
||||
if not parents:
|
||||
# first revision: feed in full manifest
|
||||
added=files
|
||||
type='full'
|
||||
|
||||
Reference in New Issue
Block a user