euscan: just PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
2c9b44f4d9
commit
04265dacff
@ -10,18 +10,18 @@ class Migration(DataMigration):
|
|||||||
|
|
||||||
def forwards(self, orm):
|
def forwards(self, orm):
|
||||||
every_day = orm["djcelery.CrontabSchedule"].objects.create(
|
every_day = orm["djcelery.CrontabSchedule"].objects.create(
|
||||||
minute = "00",
|
minute="00",
|
||||||
hour = "01",
|
hour="01",
|
||||||
day_of_week = "*",
|
day_of_week="*",
|
||||||
day_of_month = "*",
|
day_of_month="*",
|
||||||
month_of_year = "*"
|
month_of_year="*"
|
||||||
)
|
)
|
||||||
every_week = orm["djcelery.CrontabSchedule"].objects.create(
|
every_week = orm["djcelery.CrontabSchedule"].objects.create(
|
||||||
minute = "00",
|
minute="00",
|
||||||
hour = "03",
|
hour="03",
|
||||||
day_of_week = "1",
|
day_of_week="1",
|
||||||
day_of_month = "*",
|
day_of_month="*",
|
||||||
month_of_year = "*"
|
month_of_year="*"
|
||||||
)
|
)
|
||||||
orm["djcelery.PeriodicTask"].objects.create(
|
orm["djcelery.PeriodicTask"].objects.create(
|
||||||
name="Daily portage update",
|
name="Daily portage update",
|
||||||
|
@ -54,7 +54,8 @@ class ScanMetadata(object):
|
|||||||
return
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(
|
self.logger.error(
|
||||||
self.style.ERROR('%s/%s: %s' % (pkg.category, pkg.name, str(e)))
|
self.style.ERROR('%s/%s: %s' %
|
||||||
|
(pkg.category, pkg.name, str(e)))
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ def scan_upstream(query, on_progress=None):
|
|||||||
not is_version_stable(version):
|
not is_version_stable(version):
|
||||||
continue
|
continue
|
||||||
if CONFIG['progress']:
|
if CONFIG['progress']:
|
||||||
print ("", file=sys.stderr)
|
print("", file=sys.stderr)
|
||||||
output.result(cp, version, url, handler, confidence)
|
output.result(cp, version, url, handler, confidence)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
2
setup.py
2
setup.py
@ -92,7 +92,7 @@ setup(
|
|||||||
'BeautifulSoup>=3.2.1',
|
'BeautifulSoup>=3.2.1',
|
||||||
# Web interface
|
# Web interface
|
||||||
'Django>=1.4', 'django-annoying>=0.7.6', 'South>=0.7',
|
'Django>=1.4', 'django-annoying>=0.7.6', 'South>=0.7',
|
||||||
'django-piston>=0.2.3', 'matplotlib>=1.1.0',
|
'django-piston>=0.2.3', 'matplotlib>=1.1.0',
|
||||||
'django-celery>=3.0.1', 'django-registration>=0.8',
|
'django-celery>=3.0.1', 'django-registration>=0.8',
|
||||||
'python-ldap>=2.4.10', 'django-auth-ldap>=1.1',
|
'python-ldap>=2.4.10', 'django-auth-ldap>=1.1',
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user