diff --git a/debian/control b/debian/control index 9b6c079..a5913ed 100644 --- a/debian/control +++ b/debian/control @@ -47,6 +47,7 @@ Depends: python3, python3-apt, python3-debian, + python3-debianbts, python3-distro-info, python3-httplib2, python3-launchpadlib, diff --git a/import-bug-from-debian b/import-bug-from-debian index ee7ef5c..b9ab478 100755 --- a/import-bug-from-debian +++ b/import-bug-from-debian @@ -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+)")