LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File progressbar-python3-relative-imports.patch of Package python-progressbar (Project openSUSE:Factory)

diff -ruN a/progressbar/__init__.py b/progressbar/__init__.py
--- a/progressbar/__init__.py	2012-11-05 23:03:46.693882987 +0100
+++ b/progressbar/__init__.py	2012-11-05 23:17:29.704908198 +0100
@@ -44,6 +44,6 @@
 __date__ = '2011-05-14'
 __version__ = '2.3'
 
-from compat import *
-from widgets import *
-from progressbar import *
+from progressbar.compat import *
+from progressbar.widgets import *
+from progressbar.progressbar import *
Binärdateien a/progressbar/.__init__.py.swp and b/progressbar/.__init__.py.swp sind verschieden.
diff -ruN a/progressbar/progressbar.py b/progressbar/progressbar.py
--- a/progressbar/progressbar.py	2012-11-05 23:03:46.696882987 +0100
+++ b/progressbar/progressbar.py	2012-11-05 23:18:44.677910496 +0100
@@ -35,7 +35,7 @@
 except ImportError:
     pass
 
-import widgets
+from progressbar import widgets
 
 
 class UnknownLength: pass
Binärdateien a/progressbar/.progressbar.py.swp and b/progressbar/.progressbar.py.swp sind verschieden.