From 44f7130126913186caa55b2da1a58debc647fa02 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 23 Jul 2010 17:03:28 -0700 Subject: Imports go at the top --- src/pyfedpkg/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index dc4218a..1a48b81 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -24,6 +24,8 @@ import ConfigParser import stat import StringIO import tempfile +import OpenSSL + # Define some global variables, put them here to make it easy to change LOOKASIDE = 'http://cvs.fedoraproject.org/repo/pkgs' @@ -1048,7 +1050,6 @@ class PackageModule: # save the weburl for later use too self.kojiweburl = defaults['weburl'] # log in using ssl - import OpenSSL try: self.kojisession.ssl_login(defaults['cert'], defaults['ca'], defaults['serverca']) -- cgit