Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
still fixing versions and removing breakpoint...
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Groszer committed Sep 10, 2010
1 parent 963348e commit 81a8847
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/zope/wineggbuilder/build.py
Expand Up @@ -198,15 +198,12 @@ def build(self, status):
verFiles = defaultdict(list)
simple = self.urlGetterKlass().get(self.pypiurl)
soup = BeautifulSoup.BeautifulSoup(simple)
VERSION = re.compile(self.name+r'-(\d+\.\d+(\.\d+\w+){0,2})')
VERSION = re.compile(self.name+r'-(\d+\.\d+(\.\d+\w*){0,2})')
gotSource = False

for tag in soup('a'):
cntnt = str(tag.contents[0]) # str: re does not like non-strings

if self.sectionName == 'ZODB3_2664' and '3.10' in cntnt:
from pub.dbgpclient import brk; brk('192.168.32.1')

m = VERSION.search(cntnt)
if m:
version = m.group(1)
Expand Down

0 comments on commit 81a8847

Please sign in to comment.