Mercurial > hg
comparison hgext/churn.py @ 16231:ce292f1379ba stable
i18n: fix all remaining uses of % inside _()
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 08 Mar 2012 13:35:27 -0600 |
parents | 35c2cc322ba8 |
children | 38caf405d010 |
comparison
equal
deleted
inserted
replaced
16230:d4d35fd0889d | 16231:ce292f1379ba |
---|---|
133 alias, actual = l.split('=' in l and '=' or None, 1) | 133 alias, actual = l.split('=' in l and '=' or None, 1) |
134 amap[alias.strip()] = actual.strip() | 134 amap[alias.strip()] = actual.strip() |
135 except ValueError: | 135 except ValueError: |
136 l = l.strip() | 136 l = l.strip() |
137 if l: | 137 if l: |
138 ui.warn(_("skipping malformed alias: %s\n" % l)) | 138 ui.warn(_("skipping malformed alias: %s\n") % l) |
139 continue | 139 continue |
140 | 140 |
141 rate = countrate(ui, repo, amap, *pats, **opts).items() | 141 rate = countrate(ui, repo, amap, *pats, **opts).items() |
142 if not rate: | 142 if not rate: |
143 return | 143 return |