Show
Ignore:
Timestamp:
12/12/07 09:44:46 (12 months ago)
Author:
asterix
Message:

merge diff from trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/pep/src/common/configpaths.py

    r8478 r9123  
    8080                # LOG is deprecated 
    8181                k = ( 'LOG',   'LOG_DB',   'VCARD',   'AVATAR',   'MY_EMOTS', 
    82                         'MY_ICONSETS' ) 
     82                        'MY_ICONSETS', 'MY_CACERTS') 
    8383                v = (u'logs', u'logs.db', u'vcards', u'avatars', u'emoticons', 
    84                         u'iconsets') 
     84                        u'iconsets',  u'cacerts.pem') 
    8585 
    8686                if os.name == 'nt': 
     
    103103                #       print "%s: %s" % (repr(k), repr(v)) 
    104104 
    105         def init_profile(self, profile): 
     105        def init_profile(self, profile = ''): 
    106106                conffile = windowsify(u'config') 
    107107                pidfile = windowsify(u'gajim') 
     108                secretsfile = windowsify(u'secrets') 
    108109 
    109110                if len(profile) > 0: 
    110111                        conffile += u'.' + profile 
    111112                        pidfile += u'.' + profile 
     113                        secretsfile += u'.' + profile 
    112114                pidfile += u'.pid' 
    113115                self.add_from_root('CONFIG_FILE', conffile) 
    114116                self.add_from_root('PID_FILE', pidfile) 
     117                self.add_from_root('SECRETS_FILE', secretsfile) 
    115118 
    116119                # for k, v in paths.iteritems():