Ignore:
Timestamp:
30/09/08 16:58:15 (11 years ago)
Author:
cbyrom
Message:

Fix handling of ndg hosted data - properly reading config settings from file
in ingest + improve use of default value checking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ingestAutomation-upgrade/OAIBatch/keywordAdder.py

    r4027 r4257  
    4949 
    5050def main(indir, outdir, keywords): 
    51     if len(sys.argv) < 2 or indir == "" or outdir == "" or keywords == []: 
     51    if not indir or not outdir or not keywords: 
    5252        print "USAGE: keywordAdder indir, outdir, keywords " 
    5353        print " where indir= full path of directory where MOLES records reside," 
Note: See TracChangeset for help on using the changeset viewer.