projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab3421
)
tests/11_test_dch_main.py: Fix OS release check for Ubuntu.
author
Logan Rosen
<logan@ubuntu.com>
Mon, 15 Mar 2021 13:42:02 +0000
(14:42 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Mon, 15 Mar 2021 13:42:28 +0000
(14:42 +0100)
Closes: #983204
tests/11_test_dch_main.py
patch
|
blob
|
history
diff --git
a/tests/11_test_dch_main.py
b/tests/11_test_dch_main.py
index 7dafb7f2271844707057924e133929171b569828..aae19b9a296b4b50602c07c1417ddd7198cb47c7 100644
(file)
--- a/
tests/11_test_dch_main.py
+++ b/
tests/11_test_dch_main.py
@@
-18,7
+18,7
@@
default_urgency = get_dch_default_urgency()
os_release = OsReleaseFile()
# OS release codename and snapshot of version 0.9-2~1
-if os_release['ID'] == '
U
buntu':
+if os_release['ID'] == '
u
buntu':
os_codename = os_release['UBUNTU_CODENAME']
snap_header_0_9 = r'^test-package\s\(0.9-1ubuntu1~1\.gbp([0-9a-f]{6})\)\sUNRELEASED;\surgency=%s' % default_urgency
new_version_0_9 = '0.9-1ubuntu1'