From a7abbb37cd834d676616ee3e39f7ff2f817961dd Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Fri, 15 Jan 2010 20:34:54 +0100 Subject: [PATCH] - fixed typo in regex --- osc/util/rpmquery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/util/rpmquery.py b/osc/util/rpmquery.py index f74af5bf..6c5638c1 100644 --- a/osc/util/rpmquery.py +++ b/osc/util/rpmquery.py @@ -235,8 +235,8 @@ class RpmQuery(packagequery.PackageQuery): res = 0 while res == 0: # remove all leading non alphanumeric chars - ver1 = re.sub('^[^a-zA-z0-9]*', '', ver1) - ver2 = re.sub('^[^a-zA-z0-9]*', '', ver2) + ver1 = re.sub('^[^a-zA-Z0-9]*', '', ver1) + ver2 = re.sub('^[^a-zA-Z0-9]*', '', ver2) if not (len(ver1) and len(ver2)): break # check if we have a digits segment