helps avoiding accidental *changes commandline arguments
Signed-off-by: Joerg Jaspert <joerg@debian.org>
acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), dbchange.source, version)
acceptfiles[acceptfilename]=1
acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), dbchange.source, version)
acceptfiles[acceptfilename]=1
+ print "Would create %s now and then go on to accept this package, if you allow me to." % (acceptfiles.keys())
- print "Would create %s now and then go on to accept this package, but No-Action is set" % (acceptfiles.keys())
+ else:
+ raw_input("Press Enter to continue")
for acceptfilename in acceptfiles.keys():
accept_file = file(acceptfilename, "w")
for acceptfilename in acceptfiles.keys():
accept_file = file(acceptfilename, "w")