3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-04-22 07:41:08 +00:00

d/control: add python3-debianbts dep, remove runtime check

Signed-off-by: Dan Streetman <ddstreet@canonical.com>
This commit is contained in:
Dan Streetman 2021-01-25 09:25:22 -05:00
parent 52739e44ad
commit f2118d6e7f
2 changed files with 2 additions and 6 deletions

1
debian/control vendored

@ -47,6 +47,7 @@ Depends:
python3,
python3-apt,
python3-debian,
python3-debianbts,
python3-distro-info,
python3-httplib2,
python3-launchpadlib,

@ -22,6 +22,7 @@
# ##################################################################
import argparse
import debianbts
import logging
import re
import sys
@ -34,12 +35,6 @@ from ubuntutools.config import UDTConfig
from ubuntutools import getLogger
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():
bug_re = re.compile(r"bug=(\d+)")