Added error message if we can't read script file.

This commit is contained in:
Bob Lantz
2010-08-17 00:02:30 -07:00
parent 9d0dbe488a
commit dde9c91dcf
+1 -1
View File
@@ -266,7 +266,7 @@ class CLI( Cmd ):
else:
break
except IOError:
pass
error( 'error reading file %s\n' % args[ 0 ] )
self.inputFile = None
def default( self, line ):