##// END OF EJS Templates
url: use rsplit to split [auth] keys...
Steve Borho -
r13370:d13a533a default
parent child Browse files
Show More
@@ -155,7 +155,7 class passwordmgr(urllib2.HTTPPasswordMg
155 if '.' not in key:
155 if '.' not in key:
156 self.ui.warn(_("ignoring invalid [auth] key '%s'\n") % key)
156 self.ui.warn(_("ignoring invalid [auth] key '%s'\n") % key)
157 continue
157 continue
158 group, setting = key.split('.', 1)
158 group, setting = key.rsplit('.', 1)
159 gdict = config.setdefault(group, dict())
159 gdict = config.setdefault(group, dict())
160 if setting in ('username', 'cert', 'key'):
160 if setting in ('username', 'cert', 'key'):
161 val = util.expandpath(val)
161 val = util.expandpath(val)
General Comments 0
You need to be logged in to leave comments. Login now