Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/gpg.py @ 3893:6b4127c7d52a
Simplify i18n imports
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 14 Dec 2006 20:25:19 -0600 |
parents | 3d6efcbbd1c9 |
children | b12eae71382d |
comparison
equal
deleted
inserted
replaced
3892:2eec996f2fb9 | 3893:6b4127c7d52a |
---|---|
6 # of the GNU General Public License, incorporated herein by reference. | 6 # of the GNU General Public License, incorporated herein by reference. |
7 | 7 |
8 import os, tempfile, binascii | 8 import os, tempfile, binascii |
9 from mercurial import util | 9 from mercurial import util |
10 from mercurial import node as hgnode | 10 from mercurial import node as hgnode |
11 from mercurial.i18n import gettext as _ | 11 from mercurial.i18n import _ |
12 | 12 |
13 class gpg: | 13 class gpg: |
14 def __init__(self, path, key=None): | 14 def __init__(self, path, key=None): |
15 self.path = path | 15 self.path = path |
16 self.key = (key and " --local-user \"%s\"" % key) or "" | 16 self.key = (key and " --local-user \"%s\"" % key) or "" |