Changeset ae39ac9f4d53ef3c57ac397c956f075cf52245e7 for config.py
- Timestamp:
- 04/06/08 22:46:43 (9 months ago)
- git-parent:
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
config.py
rdd5494d rae39ac9 62 62 def getShares(tsn=''): 63 63 shares = [(section, dict(config.items(section))) 64 for section in config.sections() 65 if not(section.startswith('_tivo_') or section == 'Server')] 64 for section in config.sections() 65 if not ( 66 section.startswith('_tivo_') 67 or section in ('Server', 'loggers', 'handlers', 'formatters') 68 or section.startswith('logger_') 69 or section.startswith('handler_') 70 or section.startswith('formatter_') 71 ) 72 ] 66 73 67 74 if config.has_section('_tivo_' + tsn): … … 315 322 except NoOptionError: 316 323 return None 317 324 318 325 def getVideoCodec(tsn = None): 319 326 if tsn and config.has_section('_tivo_' + tsn):
