aboutsummaryrefslogtreecommitdiff
path: root/devel/py-hash_ring/files/patch-2to3
blob: 22bf1a6b274da0473339382f3485c484e14ea8b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- hash_ring/__init__.py.orig	2012-12-15 01:14:49 UTC
+++ hash_ring/__init__.py
@@ -1,6 +1,6 @@
-from hash_ring import HashRing
+from .hash_ring import HashRing
 
 try:
-    from memcache_ring import MemcacheRing
-except ImportError, e:
+    from .memcache_ring import MemcacheRing
+except ImportError as e:
     pass