Mercurial > hg
comparison mercurial/url.py @ 10539:fc5908d01ed7 stable
url: only mark format string for translation
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 24 Feb 2010 17:11:37 +0100 |
parents | a957038218cd |
children | 1148a968a070 |
comparison
equal
deleted
inserted
replaced
10538:5203a324ba73 | 10539:fc5908d01ed7 |
---|---|
139 def readauthtoken(self, uri): | 139 def readauthtoken(self, uri): |
140 # Read configuration | 140 # Read configuration |
141 config = dict() | 141 config = dict() |
142 for key, val in self.ui.configitems('auth'): | 142 for key, val in self.ui.configitems('auth'): |
143 if '.' not in key: | 143 if '.' not in key: |
144 self.ui.warn(_("ignoring invalid [auth] key '%s'\n" % key)) | 144 self.ui.warn(_("ignoring invalid [auth] key '%s'\n") % key) |
145 continue | 145 continue |
146 group, setting = key.split('.', 1) | 146 group, setting = key.split('.', 1) |
147 gdict = config.setdefault(group, dict()) | 147 gdict = config.setdefault(group, dict()) |
148 gdict[setting] = val | 148 gdict[setting] = val |
149 | 149 |