diff --git a/i18n/hggettext b/i18n/hggettext --- a/i18n/hggettext +++ b/i18n/hggettext @@ -123,7 +123,7 @@ if not cmdtable: # Maybe we are processing mercurial.commands? cmdtable = getattr(mod, 'table', {}) - functions.extend((c[0], False) for c in cmdtable.itervalues()) + functions.extend((c[0], False) for c in cmdtable.values()) for func, rstrip in functions: if func.__doc__: