euscan: just PEP8 cleaning

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-07-27 11:33:27 +02:00
parent 2c9b44f4d9
commit 04265dacff
4 changed files with 14 additions and 13 deletions

View File

@ -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",

View File

@ -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

View File

@ -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

View File

@ -92,7 +92,7 @@ setup(
'BeautifulSoup>=3.2.1',
# Web interface
'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',
'python-ldap>=2.4.10', 'django-auth-ldap>=1.1',
],