aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolpino <fox91@anche.no>2012-04-28 18:16:05 +0200
committervolpino <fox91@anche.no>2012-04-28 18:16:05 +0200
commit8c91855a58bcd7a0ae2f2bb13c21565de5b0cd0a (patch)
tree9b12074e7837826b1805440b70d0c6ac7ba24e60 /pym/euscan/__init__.py
parentREADME update (diff)
downloadeuscan-8c91855a58bcd7a0ae2f2bb13c21565de5b0cd0a.tar.gz
euscan-8c91855a58bcd7a0ae2f2bb13c21565de5b0cd0a.tar.bz2
euscan-8c91855a58bcd7a0ae2f2bb13c21565de5b0cd0a.zip
Lovely day for PEP8 and pylint!
Diffstat (limited to 'pym/euscan/__init__.py')
-rw-r--r--pym/euscan/__init__.py31
1 files changed, 17 insertions, 14 deletions
diff --git a/pym/euscan/__init__.py b/pym/euscan/__init__.py
index cafe173..391a7a3 100644
--- a/pym/euscan/__init__.py
+++ b/pym/euscan/__init__.py
@@ -5,7 +5,6 @@
__version__ = "git"
-import sys
from portage.output import EOutput
@@ -19,15 +18,16 @@ CONFIG = {
'brute-force-false-watermark': 50,
'scan-dir': True,
'oneshot': True,
- 'user-agent' : 'escan (http://euscan.iksaif.net)',
- 'skip-robots-txt' : False,
- 'cache' : False
+ 'user-agent': 'escan (http://euscan.iksaif.net)',
+ 'skip-robots-txt': False,
+ 'cache': False
}
output = EOutput(CONFIG['quiet'])
BLACKLIST_VERSIONS = [
- # Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++, won't be updated
+ # Compatibility package for running binaries linked against a
+ # pre gcc 3.4 libstdc++, won't be updated
'>=sys-libs/libstdc++-v3-3.4',
]
@@ -39,21 +39,24 @@ BLACKLIST_PACKAGES = [
]
SCANDIR_BLACKLIST_URLS = [
- 'mirror://rubygems/(.*)', # Not browsable
- 'mirror://gentoo/(.*)' # Directory too big
+ 'mirror://rubygems/(.*)', # Not browsable
+ 'mirror://gentoo/(.*)' # Directory too big
]
BRUTEFORCE_BLACKLIST_PACKAGES = [
- 'net-zope/plonepopoll' # infinite loop any http://plone.org/products/plonepopoll/releases/*/plonepopoll-2-6-1.tgz link will work
+ # infinite loop any
+ # http://plone.org/products/plonepopoll/releases/*/plonepopoll-2-6-1.tgz
+ # link will work
+ 'net-zope/plonepopoll'
]
BRUTEFORCE_BLACKLIST_URLS = [
- 'http://(.*)dockapps.org/download.php/id/(.*)', # infinite loop
- 'http://hydra.nixos.org/build/(.*)', # infinite loop
- 'http://www.rennings.net/gentoo/distfiles/(.*)', # Doesn't respect 404, infinite loop
- 'http://art.gnome.org/download/(.*)', # Doesn't respect 404, infinite loop
- 'http://barelysufficient.org/~olemarkus/(.*)', # Doesn't respect 404, infinite loop
- 'http://olemarkus.org/~olemarkus/(.*)', # Doesn't respect 404, infinite loop
+ 'http://(.*)dockapps.org/download.php/id/(.*)', # infinite loop
+ 'http://hydra.nixos.org/build/(.*)', # infinite loop
+ 'http://www.rennings.net/gentoo/distfiles/(.*)', # Doesn't respect 404, infinite loop
+ 'http://art.gnome.org/download/(.*)', # Doesn't respect 404, infinite loop
+ 'http://barelysufficient.org/~olemarkus/(.*)', # Doesn't respect 404, infinite loop
+ 'http://olemarkus.org/~olemarkus/(.*)', # Doesn't respect 404, infinite loop
]
ROBOTS_TXT_BLACKLIST_DOMAINS = [