aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/pyme/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/pyme/util.py')
-rw-r--r--lang/python/pyme/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lang/python/pyme/util.py b/lang/python/pyme/util.py
index ef0bd65a..c4c9e180 100644
--- a/lang/python/pyme/util.py
+++ b/lang/python/pyme/util.py
@@ -16,8 +16,6 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from . import gpgme
-
def process_constants(prefix, scope):
"""Called by the constant modules to load up the constants from the C
library starting with PREFIX. Matching constants will be inserted
@@ -25,6 +23,7 @@ def process_constants(prefix, scope):
of inserted constants.
"""
+ from . import gpgme
index = len(prefix)
constants = {identifier[index:]: getattr(gpgme, identifier)
for identifier in dir(gpgme)