- Timestamp:
- Nov 7, 2016, 6:04:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var.py
r1237 r1271 228 228 oper=opts.operation 229 229 230 if opts.operation is None: 231 print errormsg 232 print ' No operation provided !!' 233 print " an operation must be provided as '-o [operationname]' " 234 quit(-1) 235 230 236 if opts.ncfile is not None and not os.path.isfile(opts.ncfile) and \ 231 237 not gen.searchInlist(NotCheckingFile,oper): 232 238 print errormsg 233 239 print ' File ' + opts.ncfile + ' does not exist !!' 240 quit(-1) 241 elif opts.ncfile is None and not gen.searchInlist(NotCheckingFile,oper): 242 print errormsg 243 print ' No file provided !!' 244 print " a file must be provided as '-f [filename]' " 234 245 quit(-1) 235 246
Note: See TracChangeset
for help on using the changeset viewer.