[Reportbug-commits] r639 - in trunk (3 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Sun Aug 31 19:46:03 UTC 2008


    Date: Sunday, August 31, 2008 @ 19:46:01
  Author: morph-guest
Revision: 639

replaced relative imports with absolute ones

Modified:
  trunk/debian/changelog
  trunk/reportbug/ui/text.py
  trunk/reportbug/ui/urwid.py

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-08-31 19:38:33 UTC (rev 638)
+++ trunk/debian/changelog	2008-08-31 19:46:01 UTC (rev 639)
@@ -14,8 +14,10 @@
       + added reportbug.ui to packages to install UI files
     - bin/querybts
       + hacked the way to identify working ui ******* NEEDS ADDITIONAL FIX, line 174 ***********
+    - reportbug/ui/{text.py,urwid.py}
+      + replaced relative imports with absolute ones
 
- -- Sandro Tosi <matrixhasu at gmail.com>  Sun, 31 Aug 2008 21:37:25 +0200
+ -- Sandro Tosi <matrixhasu at gmail.com>  Sun, 31 Aug 2008 21:41:46 +0200
 
 reportbug (3.45) unstable; urgency=low
 

Modified: trunk/reportbug/ui/text.py
===================================================================
--- trunk/reportbug/ui/text.py	2008-08-31 19:38:33 UTC (rev 638)
+++ trunk/reportbug/ui/text.py	2008-08-31 19:46:01 UTC (rev 639)
@@ -35,12 +35,12 @@
 except ImportError:
     readline = None
 
-from .. import debianbts, utils, hiermatch
-from ..exceptions import (
+from reportbug import debianbts, utils, hiermatch
+from reportbug.exceptions import (
     NoReport, NoPackage, NoBugs, NoNetwork,
     InvalidRegex,
     )
-from ..urlutils import launch_browser
+from reportbug.urlutils import launch_browser
 
 ISATTY = sys.stdin.isatty()
 charset = 'us-ascii'

Modified: trunk/reportbug/ui/urwid.py
===================================================================
--- trunk/reportbug/ui/urwid.py	2008-08-31 19:38:33 UTC (rev 638)
+++ trunk/reportbug/ui/urwid.py	2008-08-31 19:46:01 UTC (rev 639)
@@ -27,17 +27,17 @@
 import sys
 import re
 import getpass
-from .. import utils
-from ..exceptions import (
+from reportbug import utils
+from reportbug.exceptions import (
     UINotImportable,
     NoPackage, NoBugs, NoNetwork, NoReport,
     )
-from ..urlutils import launch_browser
+from reportbug.urlutils import launch_browser
 from text import (
     ewrite,
     spawn_editor,
     )
-from ..__init__ import VERSION
+from reportbug import VERSION
 
 try:
     import urwid.raw_display




More information about the Reportbug-commits mailing list