mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
backportpackage: Fix incorrectly reporting unknown distribution for Ubuntu
Fix incorrectly reporting unknown distribution for Ubuntu after commit 7fc6788b35d32aeb96c7cf81303853d4f31028d1 ("backportpackage: fix automatic selection of the target release"). LP: #2013237 Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
This commit is contained in:
parent
17d2770451
commit
66a2773c1c
@ -449,7 +449,7 @@ def main(argv):
|
||||
|
||||
if current_distro == "Ubuntu":
|
||||
args.dest_releases = [UbuntuDistroInfo().lts()]
|
||||
if current_distro == "Debian":
|
||||
elif current_distro == "Debian":
|
||||
args.dest_releases = [DebianDistroInfo().stable()]
|
||||
else:
|
||||
error("Unknown distribution %s, can't guess target release", current_distro)
|
||||
|
Loading…
x
Reference in New Issue
Block a user