[Python-checkins] python/dist/src/Lib/distutils versionpredicate.py, 1.3, 1.4

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Mon Mar 28 03:08:05 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23805/Lib/distutils

Modified Files:
	versionpredicate.py 
Log Message:
Whitespace normalization.


Index: versionpredicate.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/versionpredicate.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- versionpredicate.py	22 Mar 2005 05:43:18 -0000	1.3
+++ versionpredicate.py	28 Mar 2005 01:08:03 -0000	1.4
@@ -101,10 +101,10 @@
 
         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 @@
             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 = []



More information about the Python-checkins mailing list