- Timestamp:
- Dec 1, 2008 4:09:32 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 12e6ca8
- Parents:
- 12d7df6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd.py
r12d7df6 rf92db31 97 97 98 98 99 if not os.access(opts.configfile, os.R_OK): 100 sys.exit("Can't read config file %s" % opts.configfile) 99 101 100 102 # Initialize the implementation 101 if opts.configfile != None: 102 try: 103 config= config_parser() 104 config.read(opts.configfile) 105 except Exception, e: 106 sys.exit("Cannot parse config file: %s" % e) 107 else: 108 sys.exit("--configfile is required") 103 try: 104 config= config_parser() 105 config.read(opts.configfile) 106 except Exception, e: 107 sys.exit("Cannot parse config file %s: %s" % (opts.configfile, e)) 109 108 110 109 try:
Note: See TracChangeset
for help on using the changeset viewer.