mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-19 22:31:07 +00:00
We depend on python3-debian
This commit is contained in:
parent
7b2f1a713b
commit
38632a190e
@ -30,19 +30,13 @@ import sys
|
||||
from subprocess import call, check_call, Popen, PIPE
|
||||
from tempfile import mkdtemp
|
||||
|
||||
from debian.changelog import Changelog
|
||||
from distro_info import UbuntuDistroInfo, DistroDataOutdated
|
||||
|
||||
from ubuntutools.config import ubu_email
|
||||
from ubuntutools.question import YesNoQuestion, EditFile
|
||||
from ubuntutools.update_maintainer import update_maintainer, restore_maintainer
|
||||
|
||||
try:
|
||||
from debian.changelog import Changelog
|
||||
except ImportError:
|
||||
print("This utility requires modules from the «python3-debian» package, "
|
||||
"which isn't currently installed.")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def get_most_recent_debian_version(changelog):
|
||||
for block in changelog:
|
||||
|
Loading…
x
Reference in New Issue
Block a user