Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r593:ebdc074a0d49 Date: 2011-09-12 11:27 +0200 http://bitbucket.org/pypy/buildbot/changeset/ebdc074a0d49/
Log: Win32 compat. diff --git a/bot2/pypybuildbot/pypylist.py b/bot2/pypybuildbot/pypylist.py --- a/bot2/pypybuildbot/pypylist.py +++ b/bot2/pypybuildbot/pypylist.py @@ -58,9 +58,12 @@ self.platform = None def parse_filename(self): - if not self.filename.endswith('.tar.bz2'): + for ext in ['.tar.bz2', '.zip']: + if self.filename.endswith(ext): + break + else: raise ValueError - name = self.filename.replace('.tar.bz2', '') + name = self.filename.replace(ext, '') dashes = name.count('-') if dashes == 4: # svn based _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit