Permalink
Browse files

Changed my mind, vertical whitespace is good for you

  • Loading branch information...
1 parent e679526 commit 125bf6af940a67c3bfbc8c7bee38b87c75440f66 @dstufft committed Feb 28, 2014
Showing with 6 additions and 2 deletions.
  1. +6 −2 warehouse/packaging/models.py
@@ -28,7 +28,9 @@
class Model(models.Model):
- get_project_count = db.scalar("SELECT COUNT(*) FROM packages")
+ get_project_count = db.scalar(
+ "SELECT COUNT(*) FROM packages"
+ )
get_download_count = db.scalar(
"SELECT SUM(downloads) FROM release_files",
@@ -538,7 +540,9 @@ def get_changelog(self, since):
with self.engine.connect() as conn:
return [dict(r) for r in conn.execute(query, since=since)]
- get_last_changelog_serial = db.scalar("SELECT max(id) FROM journals")
+ get_last_changelog_serial = db.scalar(
+ "SELECT max(id) FROM journals"
+ )
def get_changelog_serial(self, since):
query = '''SELECT name, version, submitted_date, action, id

0 comments on commit 125bf6a

Please sign in to comment.