Changeset 9123 for branches/pep/src/common/configpaths.py
- Timestamp:
- 12/12/07 09:44:46 (12 months ago)
- Files:
-
- 1 modified
-
branches/pep/src/common/configpaths.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pep/src/common/configpaths.py
r8478 r9123 80 80 # LOG is deprecated 81 81 k = ( 'LOG', 'LOG_DB', 'VCARD', 'AVATAR', 'MY_EMOTS', 82 'MY_ICONSETS' )82 'MY_ICONSETS', 'MY_CACERTS') 83 83 v = (u'logs', u'logs.db', u'vcards', u'avatars', u'emoticons', 84 u'iconsets' )84 u'iconsets', u'cacerts.pem') 85 85 86 86 if os.name == 'nt': … … 103 103 # print "%s: %s" % (repr(k), repr(v)) 104 104 105 def init_profile(self, profile ):105 def init_profile(self, profile = ''): 106 106 conffile = windowsify(u'config') 107 107 pidfile = windowsify(u'gajim') 108 secretsfile = windowsify(u'secrets') 108 109 109 110 if len(profile) > 0: 110 111 conffile += u'.' + profile 111 112 pidfile += u'.' + profile 113 secretsfile += u'.' + profile 112 114 pidfile += u'.pid' 113 115 self.add_from_root('CONFIG_FILE', conffile) 114 116 self.add_from_root('PID_FILE', pidfile) 117 self.add_from_root('SECRETS_FILE', secretsfile) 115 118 116 119 # for k, v in paths.iteritems():
