[Pkg-gnupg-commit] [gpgme] 359/412: python: Trim imports.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:27:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit 4011b2b2a1050f0837e989da3db9b5459e71ccd6
Author: Justus Winter <justus at g10code.com>
Date:   Wed Sep 14 14:35:00 2016 +0200

    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 <justus at g10code.com>
---
 lang/python/examples/encrypt-to-all.py | 1 -
 lang/python/examples/signverify.py     | 1 -
 lang/python/examples/simple.py         | 1 -
 lang/python/examples/verifydetails.py  | 1 -
 4 files changed, 4 deletions(-)

diff --git a/lang/python/examples/encrypt-to-all.py b/lang/python/examples/encrypt-to-all.py
index bb8225b..35873bd 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 f12e065..03bc0a6 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 ccd7cb4..5598487 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 63f40c1..fa34926 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
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list