From 0e541ed60b0aca9916bac3ab7274d1d44438e2dd Mon Sep 17 00:00:00 2001 From: michael-west Date: Wed, 9 Jan 2019 16:50:21 -0800 Subject: Debian: Minor change to convert_changelog.py - Change "trusty" to a more generic "ubuntu_release" placeholder --- tools/debs/convert_changelog.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tools/debs/convert_changelog.py') diff --git a/tools/debs/convert_changelog.py b/tools/debs/convert_changelog.py index 1ea486881..b2a66228d 100755 --- a/tools/debs/convert_changelog.py +++ b/tools/debs/convert_changelog.py @@ -40,12 +40,8 @@ def convert_version_string(version, to_debian=True): else: return "## {0}".format(".".join("{0:03d}".format(int(num)) for num in version.split("."))) -# -# The "trusty" string below doesn't need to be changed, even when Trusty loses support. The script -# to upload packages replaces it anyway. -# def get_header(version): - return "uhd ({0}-0ubuntu1) trusty; urgency=low\n\n".format(convert_version_string(version)) + return "uhd ({0}-0ubuntu1) ubuntu_release; urgency=low\n\n".format(convert_version_string(version)) def get_footer(uploader_name, uploader_email): return " -- {0} <{1}> {2}\n\n".format(uploader_name, uploader_email, datetime.datetime.now().strftime("%a, %d %b %Y %I:%M:%S %Z-0800")) -- cgit v1.2.3