Changeset 3857
- Timestamp:
- 07/05/08 12:58:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI01-discovery/branches/ingestAutomation-upgrade/OAIBatch/oai_ingest_new2.py
r3853 r3857 185 185 print " - where:\n <datacentre> is the data centre to ingest data from; and" 186 186 print " -v - verbose mode for output logging" 187 print " -d - debug mode for output logging" 187 188 sys.exit(2) 188 189 … … 198 199 # check for verbose option 199 200 try: 200 opts, args = getopt.getopt(sys.argv[1:], "v ")201 opts, args = getopt.getopt(sys.argv[1:], "vd") 201 202 except getopt.GetoptError, err: 202 203 # print help information and exit: … … 208 209 if o == "-v": 209 210 print " - Verbose mode ON" 211 loggingLevel = logging.INFO 212 elif o == "-d": 213 print " - Debug mode ON" 210 214 loggingLevel = logging.DEBUG 211 215
Note: See TracChangeset
for help on using the changeset viewer.