[Pkg-python-debian-commits] trunk r106: * Allow urgency=HIGH and other words made of capital letters there, see

James Westby jw+debian at jameswestby.net
Fri May 16 12:06:03 UTC 2008


------------------------------------------------------------
revno: 106
committer: James Westby <jw+debian at jameswestby.net>
branch nick: trunk
timestamp: Fri 2008-05-16 13:06:03 +0100
message:
  * Allow urgency=HIGH and other words made of capital letters there, see
    fuse's changelog.
modified:
  debian/changelog
  debian_bundle/changelog.py
  tests/test_changelog
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-05-01 05:59:42 +0000
+++ b/debian/changelog	2008-05-16 12:06:03 +0000
@@ -1,3 +1,10 @@
+python-debian (0.1.11) UNRELEASED; urgency=low
+
+  * Allow urgency=HIGH and other words made of capital letters there, see
+    fuse's changelog.
+
+ -- James Westby <jw+debian at jameswestby.net>  Fri, 16 May 2008 13:04:38 +0100
+
 python-debian (0.1.10) unstable; urgency=low
 
   * debian_bundle/deb822.py, tests/test_deb822.py:

=== modified file 'debian_bundle/changelog.py'
--- a/debian_bundle/changelog.py	2007-07-30 17:39:41 +0000
+++ b/debian_bundle/changelog.py	2008-05-16 12:06:03 +0000
@@ -181,7 +181,7 @@
     return block
 
 topline = re.compile('^([a-z0-9][-a-z0-9.+]+) \(([-0-9a-zA-Z.:~+]+)\) '
-      +'([-+.0-9a-zA-Z ]+); urgency=([a-z]+)')
+      +'([-+.0-9a-zA-Z ]+); urgency=([a-zA-Z]+)')
 blankline = re.compile('^[ \t]*$')
 change = re.compile('^[ ][ ]+.*$')
 endline = re.compile('^ -- (.*)  (\w\w\w, +(\d| \d|\d\d) \w\w\w \d\d\d\d '+
@@ -373,7 +373,7 @@
     cl = Changelog(c, max_blocks=1)
     cs = str(cl)
     self.assertEqual(cs,
-    """gnutls13 (1:1.4.1-1) unstable; urgency=low
+    """gnutls13 (1:1.4.1-1) unstable; urgency=HIGH
 
   [ James Westby ]
   * New upstream release.

=== modified file 'tests/test_changelog'
--- a/tests/test_changelog	2007-11-29 15:27:12 +0000
+++ b/tests/test_changelog	2008-05-16 12:06:03 +0000
@@ -1,4 +1,4 @@
-gnutls13 (1:1.4.1-1) unstable; urgency=low
+gnutls13 (1:1.4.1-1) unstable; urgency=HIGH
 
   [ James Westby ]
   * New upstream release.



More information about the pkg-python-debian-commits mailing list