Ignore:
Timestamp:
15/11/16 17:50:07 (3 years ago)
Author:
mjuckes
Message:

added option to specify files in a text file, one file name per line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CCCC/trunk/ceda_cc/ccinit.py

    r456 r869  
    117117      elif next == '--blfms': 
    118118        self.policyBatchLogfileMs = False 
     119      elif next == '-fl': 
     120        flf = args.pop(0) 
     121        flist = [] 
     122        for l in open( flf ).readlines(): 
     123          flist.append( l.strip() ) 
     124        self.source = flf   
    119125      elif next == '-d': 
    120126        fdir = args.pop(0) 
Note: See TracChangeset for help on using the changeset viewer.