diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-03-28 01:08:02 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-03-28 01:08:02 (GMT) |
commit | eba28bea9b8ef7df010e65c630b8c0f7009c6005 (patch) | |
tree | 9ec2d5adb6886c2577a8c20e4e51d6d7ed393ec4 /Lib/distutils/versionpredicate.py | |
parent | 700f36c7520bffef73d86088fa80b7a1c62c416a (diff) | |
download | cpython-eba28bea9b8ef7df010e65c630b8c0f7009c6005.zip cpython-eba28bea9b8ef7df010e65c630b8c0f7009c6005.tar.gz cpython-eba28bea9b8ef7df010e65c630b8c0f7009c6005.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/distutils/versionpredicate.py')
-rw-r--r-- | Lib/distutils/versionpredicate.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/versionpredicate.py b/Lib/distutils/versionpredicate.py index 62d89f8..ba8b6c0 100644 --- a/Lib/distutils/versionpredicate.py +++ b/Lib/distutils/versionpredicate.py @@ -101,10 +101,10 @@ class VersionPredicate: versionPredicateStr = versionPredicateStr.strip() if not versionPredicateStr: - raise ValueError("empty package restriction") + raise ValueError("empty package restriction") match = re_validPackage.match(versionPredicateStr) if not match: - raise ValueError("bad package name in %r" % versionPredicateStr) + raise ValueError("bad package name in %r" % versionPredicateStr) self.name, paren = match.groups() paren = paren.strip() if paren: @@ -114,7 +114,7 @@ class VersionPredicate: str = match.groups()[0] self.pred = [splitUp(aPred) for aPred in str.split(",")] if not self.pred: - raise ValueError("empty parenthesized list in %r" + raise ValueError("empty parenthesized list in %r" % versionPredicateStr) else: self.pred = [] |