hwoarang    14/05/04 11:31:15

  Modified:             gmn_bugzie_aggregate.py
  Log:
  Add option to remove the breport file

Revision  Changes    Path
1.5                  src/gwn/gmn_bugzie_aggregate.py

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/gmn_bugzie_aggregate.py?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/gmn_bugzie_aggregate.py?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/gmn_bugzie_aggregate.py?r1=1.4&r2=1.5

Index: gmn_bugzie_aggregate.py
===================================================================
RCS file: /var/cvsroot/gentoo/src/gwn/gmn_bugzie_aggregate.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gmn_bugzie_aggregate.py     31 Oct 2013 19:12:59 -0000      1.4
+++ gmn_bugzie_aggregate.py     4 May 2014 11:31:15 -0000       1.5
@@ -102,3 +102,7 @@
 opkeys.reverse()
 
 print "Done!"
+deletefile = raw_input("Remove the 'breport' file? [Y/n]: ")
+allno = ('n', 'N', 'NO', 'No', 'no')
+if deletefile not in allno:
+    os.remove('breport')




Reply via email to