import-bug-from-debian: Move ubuntutools.logger import before possible usage.

This commit is contained in:
Benjamin Drung 2013-03-19 00:43:31 +01:00
parent c2aa97dba2
commit 7206593bc9

View File

@ -27,17 +27,17 @@ import re
import sys
import webbrowser
from launchpadlib.launchpad import Launchpad
from ubuntutools.config import UDTConfig
from ubuntutools.logger import Logger
try:
import SOAPpy
except ImportError:
Logger.error("Please install 'python-soappy' in order to use this utility.")
sys.exit(1)
from launchpadlib.launchpad import Launchpad
from ubuntutools.config import UDTConfig
from ubuntutools.logger import Logger
def main():
bug_re = re.compile(r"bug=(\d+)")