File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1616# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818#
19- # $Id: roundup-admin,v 1.57 2001-12-31 05:12:01 richard Exp $
19+ # $Id: roundup-admin,v 1.58 2001-12-31 05:12:52 richard Exp $
2020
2121# python version check
2222from roundup import version_check
@@ -967,7 +967,7 @@ Command help:
967967 # exit.. check for transactions
968968 if self .db and self .db .transactions :
969969 commit = raw_input ("There are unsaved changes. Commit them (y/N)? " )
970- if commit [0 ].lower () == 'y' :
970+ if commit and commit [0 ].lower () == 'y' :
971971 self .db .commit ()
972972 return 0
973973
@@ -1012,6 +1012,9 @@ if __name__ == '__main__':
10121012
10131013#
10141014# $Log: not supported by cvs2svn $
1015+ # Revision 1.57 2001/12/31 05:12:01 richard
1016+ # added some quoting instructions to roundup-admin
1017+ #
10151018# Revision 1.56 2001/12/31 05:09:20 richard
10161019# Added better tokenising to roundup-admin - handles spaces and stuff. Can
10171020# use quoting or backslashes. See the roundup.token pydoc.
You can’t perform that action at this time.
0 commit comments