ports/devel/py-hash_ring/files/patch-2to3
2022-03-25 21:38:09 +08:00

12 lines
319 B
Text

--- 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