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

This commit is contained in:
Bob Lantz committed 2010-08-10 18:57:00 -07:00
1 parent 6aff964ea0
commit 6e9074f89e
1 file changed
+1 -1
+1 -1
View File
@@ -236,7 +236,7 @@ class CLI( Cmd ):
else:
break
except IOError:
pass
error( 'error reading file %s\n' % args[ 0 ] )
self.inputFile = None
def default( self, line ):