diff options
author | volpino <fox91@anche.no> | 2012-08-07 11:07:10 +0200 |
---|---|---|
committer | volpino <fox91@anche.no> | 2012-08-07 11:16:05 +0200 |
commit | ea6e421d16615a7bb92e260e3ddf939c1e83df68 (patch) | |
tree | aa5172339ba5250e182a20d2f8355f6d8976d729 /pym/euscan | |
parent | euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning (diff) | |
download | euscan-ea6e421d16615a7bb92e260e3ddf939c1e83df68.tar.gz euscan-ea6e421d16615a7bb92e260e3ddf939c1e83df68.tar.bz2 euscan-ea6e421d16615a7bb92e260e3ddf939c1e83df68.zip |
euscan: Fixing failure while scanning postgresql-server
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'pym/euscan')
-rw-r--r-- | pym/euscan/helpers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/euscan/helpers.py b/pym/euscan/helpers.py index aebc3b2..f748c2e 100644 --- a/pym/euscan/helpers.py +++ b/pym/euscan/helpers.py @@ -73,7 +73,7 @@ def version_is_nightly(a, b): a = parse_version(a) b = parse_version(b) - ''' Try to skip nightly builds when not wanted (www-apps/moodle) ''' + # Try to skip nightly builds when not wanted (www-apps/moodle) if len(a) != len(b) and len(b) == 2 and len(b[0]) == len('yyyymmdd'): if b[0][:4] != '0000': return True @@ -84,7 +84,7 @@ def version_blacklisted(cp, version): rule = None cpv = '%s-%s' % (cp, version) - ''' Check that the generated cpv can be used by portage ''' + # Check that the generated cpv can be used by portage if not portage.versions.catpkgsplit(cpv): return False @@ -99,7 +99,7 @@ def version_blacklisted(cp, version): def version_change_end_sep(version): - match = re.match('.*' + _v_end, version) + match = re.match(r".*(%s)" % _v_end, version) if not match: return None end = match.group(1) @@ -240,7 +240,7 @@ class HeadRequest(urllib2.Request): return "HEAD" -""" RobotParser cache """ +# RobotParser cache rpcache = {} |