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):
|
||||
every_day = orm["djcelery.CrontabSchedule"].objects.create(
|
||||
minute = "00",
|
||||
hour = "01",
|
||||
day_of_week = "*",
|
||||
day_of_month = "*",
|
||||
month_of_year = "*"
|
||||
minute="00",
|
||||
hour="01",
|
||||
day_of_week="*",
|
||||
day_of_month="*",
|
||||
month_of_year="*"
|
||||
)
|
||||
every_week = orm["djcelery.CrontabSchedule"].objects.create(
|
||||
minute = "00",
|
||||
hour = "03",
|
||||
day_of_week = "1",
|
||||
day_of_month = "*",
|
||||
month_of_year = "*"
|
||||
minute="00",
|
||||
hour="03",
|
||||
day_of_week="1",
|
||||
day_of_month="*",
|
||||
month_of_year="*"
|
||||
)
|
||||
orm["djcelery.PeriodicTask"].objects.create(
|
||||
name="Daily portage update",
|
||||
|
@ -54,7 +54,8 @@ class ScanMetadata(object):
|
||||
return
|
||||
except Exception as e:
|
||||
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
|
||||
|
||||
|
@ -179,7 +179,7 @@ def scan_upstream(query, on_progress=None):
|
||||
not is_version_stable(version):
|
||||
continue
|
||||
if CONFIG['progress']:
|
||||
print ("", file=sys.stderr)
|
||||
print("", file=sys.stderr)
|
||||
output.result(cp, version, url, handler, confidence)
|
||||
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user