From 4cd2e42d6e7d254115e16bf8046457c4156f9b64 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 20 Nov 2014 15:37:17 +0100 Subject: [PATCH] bam cli: removed paths would do nothing --- client/cli/bam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cli/bam.py b/client/cli/bam.py index 2be1e9b..d568400 100755 --- a/client/cli/bam.py +++ b/client/cli/bam.py @@ -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