equal
deleted
inserted
replaced
138 |
138 |
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: |
|
144 self.ui.warn(_("ignoring invalid [auth] key '%s'\n" % key)) |
|
145 continue |
143 group, setting = key.split('.', 1) |
146 group, setting = key.split('.', 1) |
144 gdict = config.setdefault(group, dict()) |
147 gdict = config.setdefault(group, dict()) |
145 gdict[setting] = val |
148 gdict[setting] = val |
146 |
149 |
147 # Find the best match |
150 # Find the best match |