summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcah <cah@ableton.com>2022-02-18 14:43:10 +0100
committercah <cah@ableton.com>2022-02-18 14:43:10 +0100
commita862b364888ff7b0cd30f6267309bab6ac56cdce (patch)
tree829e48696fc0ab85a88437ab5c08989924d75cf7
parentb32b040544df8a84b89eb351764a456ed4884c15 (diff)
Remove duplicate call to cleanup().
-rwxr-xr-xcdist3
1 files changed, 0 insertions, 3 deletions
diff --git a/cdist b/cdist
index 6315653..cdc6acf 100755
--- a/cdist
+++ b/cdist
@@ -1267,9 +1267,6 @@ def main():
if target is not None and not args.keep:
target.cleanup()
- if target is not None and not args.keep:
- target.cleanup()
-
elif args.command == 'release':
if args.minor is False and args.micro is False:
raise Error('you must specify --minor or --micro')