mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-17 20:01:30 +00:00
import-bug-from-debian: Move ubuntutools.logger import before possible usage.
This commit is contained in:
parent
c2aa97dba2
commit
7206593bc9
@ -27,17 +27,17 @@ import re
|
|||||||
import sys
|
import sys
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
|
||||||
|
from launchpadlib.launchpad import Launchpad
|
||||||
|
|
||||||
|
from ubuntutools.config import UDTConfig
|
||||||
|
from ubuntutools.logger import Logger
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import SOAPpy
|
import SOAPpy
|
||||||
except ImportError:
|
except ImportError:
|
||||||
Logger.error("Please install 'python-soappy' in order to use this utility.")
|
Logger.error("Please install 'python-soappy' in order to use this utility.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
from launchpadlib.launchpad import Launchpad
|
|
||||||
|
|
||||||
from ubuntutools.config import UDTConfig
|
|
||||||
from ubuntutools.logger import Logger
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
bug_re = re.compile(r"bug=(\d+)")
|
bug_re = re.compile(r"bug=(\d+)")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user