[Pkg-python-debian-commits] r59 /bzr/pkg-python-debian/trunk: bugfix: spaces are not mandatory after the ":" in RFC 822 fields

zack at bononia.it zack at bononia.it
Thu Jul 12 10:22:05 UTC 2007


------------------------------------------------------------
revno: 59
committer: zack at bononia.it
branch nick: pkg-python-debian
timestamp: Thu 2007-07-12 12:22:05 +0200
message:
  bugfix: spaces are not mandatory after the ":" in RFC 822 fields
modified:
  debian_bundle/debian_support.py
-------------- next part --------------
=== modified file 'debian_bundle/debian_support.py'
--- a/debian_bundle/debian_support.py	2007-07-08 19:06:25 +0000
+++ b/debian_bundle/debian_support.py	2007-07-12 10:22:05 +0000
@@ -159,7 +159,7 @@
     Objects of this class can be used to read Debian's Source and
     Packages files."""
 
-    re_field = re.compile(r'^([A-Za-z][A-Za-z0-9-]+):(?:\s+(.*?))?\s*$')
+    re_field = re.compile(r'^([A-Za-z][A-Za-z0-9-]+):(?:\s*(.*?))?\s*$')
     re_continuation = re.compile(r'^\s+(?:\.|(\S.*?)\s*)$')
 
     def __init__(self, name, fileObj=None):



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