aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-edit.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/tests/t-edit.py')
-rwxr-xr-xlang/python/tests/t-edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/t-edit.py b/lang/python/tests/t-edit.py
index 82f64019..bd70e7ee 100755
--- a/lang/python/tests/t-edit.py
+++ b/lang/python/tests/t-edit.py
@@ -51,7 +51,7 @@ class KeyEditor(object):
return result
-support.init_gpgme(gpg.constants.PROTOCOL_OpenPGP)
+support.init_gpgme(gpg.constants.protocol.OpenPGP)
c = gpg.Context()
c.set_pinentry_mode(gpg.constants.PINENTRY_MODE_LOOPBACK)