[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-109-gbc3be7d

Sandro Tosi morph at debian.org
Mon Jun 7 18:08:56 UTC 2010


The following commit has been merged in the master branch:
commit 02978233278a9d6bfa8709ba7f0dc822703f49e7
Author: Sandro Tosi <morph at debian.org>
Date:   Mon Jun 7 19:42:23 2010 +0200

    Moved down another import, to be after ui.text_ui, part of #583890 fix
    
    This is needed since otherwise we generate a loop of import between 'debianbts',
    'utils' 'ui' and 'ui.text_ui' that results in not being able to import anyone of
    them.

diff --git a/reportbug/utils.py b/reportbug/utils.py
index 3048d61..1c2f9db 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -55,8 +55,6 @@ PSEUDOHEADERS = ('Package', 'Source', 'Version', 'Severity', 'File', 'Tags',
                  'Justification', 'Followup-For', 'Owner', 'User', 'Usertags',
                  'Forwarded')
 
-from reportbug.ui import AVAILABLE_UIS
-
 MODES = {'novice': 'Offer simple prompts, bypassing technical questions.',
          'standard': 'Offer more extensive prompts, including asking about '
          'things that a moderately sophisticated user would be expected to '
@@ -76,6 +74,8 @@ import debianbts
 # it needs to be imported after debianbts
 import ui.text_ui as ui
 
+from reportbug.ui import AVAILABLE_UIS
+
 NEWBIELINE = '*** Please type your report below this line ***'
 
 fhs_directories = ['/', '/usr', '/usr/share', '/var', '/usr/X11R6',

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list