File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
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.30 2001-10-17 06:04:00 richard Exp $
19+ # $Id: roundup-admin,v 1.31 2001-10-17 06:17:26 richard Exp $
2020
2121import sys
2222if int (sys .version [0 ]) < 2 :
@@ -579,6 +579,11 @@ class AdminTool:
579579 def interactive (self , ws_re = re .compile (r'\s+' )):
580580 '''Run in an interactive mode
581581 '''
582+ try :
583+ import readline
584+ except ImportError :
585+ print "Note: command history and editing not available"
586+
582587 while 1 :
583588 try :
584589 command = raw_input ('roundup> ' )
@@ -624,6 +629,9 @@ if __name__ == '__main__':
624629
625630#
626631# $Log: not supported by cvs2svn $
632+ # Revision 1.30 2001/10/17 06:04:00 richard
633+ # Beginnings of an interactive mode for roundup-admin
634+ #
627635# Revision 1.29 2001/10/16 03:48:01 richard
628636# admin tool now complains if a "find" is attempted with a non-link property.
629637#
You can’t perform that action at this time.
0 commit comments