euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-08-07 09:39:49 +02:00
parent b03541c97d
commit 952d9505b2
18 changed files with 105 additions and 49 deletions

View File

@ -43,8 +43,8 @@ class ScanMetadata(object):
pkg = self.get_package(query)
try:
version = Version.objects.filter(package=pkg).values('metadata_path')\
.order_by('version', 'revision')[0]
version = Version.objects.filter(package=pkg).\
values('metadata_path').order_by('version', 'revision')[0]
except IndexError:
return pkg, None