mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-09 07:51:28 +00:00
d/control: add python3-debianbts dep, remove runtime check
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
This commit is contained in:
parent
52739e44ad
commit
f2118d6e7f
1
debian/control
vendored
1
debian/control
vendored
@ -47,6 +47,7 @@ Depends:
|
|||||||
python3,
|
python3,
|
||||||
python3-apt,
|
python3-apt,
|
||||||
python3-debian,
|
python3-debian,
|
||||||
|
python3-debianbts,
|
||||||
python3-distro-info,
|
python3-distro-info,
|
||||||
python3-httplib2,
|
python3-httplib2,
|
||||||
python3-launchpadlib,
|
python3-launchpadlib,
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
# ##################################################################
|
# ##################################################################
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
import debianbts
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
@ -34,12 +35,6 @@ from ubuntutools.config import UDTConfig
|
|||||||
from ubuntutools import getLogger
|
from ubuntutools import getLogger
|
||||||
Logger = getLogger(__name__)
|
Logger = getLogger(__name__)
|
||||||
|
|
||||||
try:
|
|
||||||
import debianbts
|
|
||||||
except ImportError:
|
|
||||||
Logger.error("Please install 'python3-debianbts' in order to use this utility.")
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
|
|
||||||
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