From 2ff58fcbd5c060dac3a7feec478819d2c5a164ec Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 28 Jul 2016 16:29:05 +0200 Subject: python: Drop superfluous imports and trim public interface. * lang/python/pyme/__init__.py: Avoid leaking low-level 'gpgme', make sure the main module looks nice and tidy, appease pyflakes. * lang/python/pyme/errors.py: Appease pyflakes. * lang/python/pyme/util.py: Avoid leaking low-level 'gpgme' into the module namespace. * lang/python/pyme/version.py.in: Likewise. * lang/python/tests/t-keylist.py: Drop superfluous imports. * lang/python/tests/t-sig-notation.py: Likewise. * lang/python/tests/t-sign.py: Likewise. * lang/python/tests/t-signers.py: Likewise. Signed-off-by: Justus Winter --- lang/python/pyme/version.py.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/python/pyme/version.py.in') diff --git a/lang/python/pyme/version.py.in b/lang/python/pyme/version.py.in index a8ab0ca4..a40e02d3 100644 --- a/lang/python/pyme/version.py.in +++ b/lang/python/pyme/version.py.in @@ -59,3 +59,6 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA""" + +# Interface hygiene. Keep this at the end. +del gpgme -- cgit v1.2.3