summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-12-27 03:09:34 +0900
committerkali <kali@leap.se>2012-12-27 03:09:34 +0900
commit629b4ae10e17ab667a0b7ae9966914ea728da839 (patch)
treeed8e5347e7c59362a10211dd006f355d4087c6f9 /__init__.py
parentb958e3a1643de1e264deb2664a5b8835091f5821 (diff)
import fixes for soledad
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/__init__.py b/__init__.py
index 2caee108..c0146715 100644
--- a/__init__.py
+++ b/__init__.py
@@ -5,9 +5,11 @@
import os
import string
import random
-import cStringIO
+#import cStringIO
import hmac
-from util import GPGWrapper
+
+import util
+
class Soledad(object):
@@ -22,7 +24,7 @@ class Soledad(object):
os.makedirs(self.PREFIX)
if not gpghome:
gpghome = self.GNUPG_HOME
- self._gpg = GPGWrapper(gpghome=gpghome)
+ self._gpg = util.GPGWrapper(gpghome=gpghome)
# load/generate OpenPGP keypair
if not self._has_openpgp_keypair():
self._gen_openpgp_keypair()
@@ -156,3 +158,6 @@ class Soledad(object):
Synchronize with LEAP server.
"""
pass
+
+
+__all__ = ['util']