Changeset 121:9fd055676826
- Timestamp:
- 11/08/08 03:34:54 (3 years ago)
- Author:
- chris
- Branch:
- unix
- Message:
-
handle missing log conf file better
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r118
|
r121
|
|
| 67 | 67 | if(not os.path.exists(self.__config_dir)): |
| 68 | 68 | os.mkdir(self.__config_dir) |
| 69 | | sys.exit(0) |
| | 69 | sys.exit(1) |
| 70 | 70 | |
| 71 | 71 | self.log = logging.getLogger('Config') |
| … |
… |
|
| 83 | 83 | self.log.error("Configuration file [%s] not found" % self.__config_file) |
| 84 | 84 | self.log.error("See the example StormSiren.conf file in the examples directory") |
| 85 | | sys.exit(0) |
| | 85 | sys.exit(1) |
| 86 | 86 | |
| 87 | 87 | def ___getConfigDir(self): |