bam cli: removed paths would do nothing

This commit is contained in:
2014-11-20 15:37:17 +01:00
parent c5d86eb45a
commit 4cd2e42d6e

View File

@@ -447,7 +447,7 @@ class bam_commands:
paths_add, paths_remove, paths_modified, paths_remap_subset_add,
)
if not paths_modified and not paths_add:
if not any((paths_add, paths_modified, paths_remove)):
print("Nothing to commit!")
return