aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-09-14 12:35:00 +0000
committerJustus Winter <[email protected]>2016-09-14 12:35:00 +0000
commit4011b2b2a1050f0837e989da3db9b5459e71ccd6 (patch)
tree0267d1b39d4df9316fb29ad0bc8b3a11e67cdb7a
parentpython: Improve error handling. (diff)
downloadgpgme-4011b2b2a1050f0837e989da3db9b5459e71ccd6.tar.gz
gpgme-4011b2b2a1050f0837e989da3db9b5459e71ccd6.zip
python: Trim imports.
* lang/python/examples/encrypt-to-all.py: Drop unused import of 'os'. * lang/python/examples/signverify.py: Likewise. * lang/python/examples/simple.py: Likewise. * lang/python/examples/verifydetails.py: Likewise. Signed-off-by: Justus Winter <[email protected]>
-rwxr-xr-xlang/python/examples/encrypt-to-all.py1
-rwxr-xr-xlang/python/examples/signverify.py1
-rwxr-xr-xlang/python/examples/simple.py1
-rwxr-xr-xlang/python/examples/verifydetails.py1
4 files changed, 0 insertions, 4 deletions
diff --git a/lang/python/examples/encrypt-to-all.py b/lang/python/examples/encrypt-to-all.py
index bb8225b0..35873bde 100755
--- a/lang/python/examples/encrypt-to-all.py
+++ b/lang/python/examples/encrypt-to-all.py
@@ -26,7 +26,6 @@ from __future__ import absolute_import, print_function, unicode_literals
del absolute_import, print_function, unicode_literals
import sys
-import os
import pyme
with pyme.Context(armor=True) as c:
diff --git a/lang/python/examples/signverify.py b/lang/python/examples/signverify.py
index f12e0657..03bc0a64 100755
--- a/lang/python/examples/signverify.py
+++ b/lang/python/examples/signverify.py
@@ -23,7 +23,6 @@ from __future__ import absolute_import, print_function, unicode_literals
del absolute_import, print_function, unicode_literals
import sys
-import os
import pyme
from pyme.constants.sig import mode
diff --git a/lang/python/examples/simple.py b/lang/python/examples/simple.py
index ccd7cb49..5598487b 100755
--- a/lang/python/examples/simple.py
+++ b/lang/python/examples/simple.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, print_function, unicode_literals
del absolute_import, print_function, unicode_literals
import sys
-import os
import pyme
with pyme.Context(armor=True) as c:
diff --git a/lang/python/examples/verifydetails.py b/lang/python/examples/verifydetails.py
index 63f40c14..fa349269 100755
--- a/lang/python/examples/verifydetails.py
+++ b/lang/python/examples/verifydetails.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, print_function, unicode_literals
del absolute_import, print_function, unicode_literals
import sys
-import os
from pyme import core
from pyme.constants import protocol