Remove duplicate call to cleanup().
authorcah <cah@ableton.com>
Fri, 18 Feb 2022 13:43:10 +0000 (14:43 +0100)
committercah <cah@ableton.com>
Fri, 18 Feb 2022 13:43:10 +0000 (14:43 +0100)
cdist

diff --git a/cdist b/cdist
index 6315653cf8b5b5474048a889db62aa8518e551c2..cdc6acf6280cc24c853eb895357245d437113c91 100755 (executable)
--- 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')