Changeset 1148 for pykota/trunk/pykota/config.py
- Timestamp:
- 10/08/03 00:06:05 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r1144 r1148 22 22 # 23 23 # $Log$ 24 # Revision 1.38 2003/10/07 22:06:05 jalet 25 # Preliminary code to disable job history 26 # 24 27 # Revision 1.37 2003/10/07 09:07:28 jalet 25 28 # Character encoding added to please latest version of Python … … 416 419 else : 417 420 return 0 421 422 def getDisableHistory(self) : 423 """Returns 1 if we want to disable history, else 0.""" 424 disablehistory = self.getGlobalOption("disablehistory", ignore=1) 425 if (disablehistory is not None) and (disablehistory.upper().strip() in ['Y', 'YES', '1', 'ON', 'O']) : 426 return 1 427 else : 428 return 0