summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2007-05-05 08:58:05 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2007-05-05 08:58:05 +0000
commitb4ae91c84d904fecd380534843835c00ebe6c10c (patch)
treee7082e24b2ca647ea56a5b323d2f863045bc3988 /lib
parent0be675d5f19dec2b1201d2cf50dfedac7b2b183c (diff)
* lib/python/debian_support.py (PackageFile.re_field):
Field names are not necessarily separated by a space from the field content. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5785 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r--lib/python/debian_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/debian_support.py b/lib/python/debian_support.py
index e2eff3812a..2668060bd7 100644
--- a/lib/python/debian_support.py
+++ b/lib/python/debian_support.py
@@ -159,7 +159,7 @@ class PackageFile:
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):

© 2014-2024 Faster IT GmbH | imprint | privacy policy