[csw-devel] SF.net SVN: gar:[13202] csw/mgar/gar/v2/lib/web/pkgdb_web.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Feb 5 20:38:13 CET 2011


Revision: 13202
          http://gar.svn.sourceforge.net/gar/?rev=13202&view=rev
Author:   wahwah
Date:     2011-02-05 19:38:13 +0000 (Sat, 05 Feb 2011)

Log Message:
-----------
pkgdb_web: Whitespace changes

Adding more space between classes

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/web/pkgdb_web.py

Modified: csw/mgar/gar/v2/lib/web/pkgdb_web.py
===================================================================
--- csw/mgar/gar/v2/lib/web/pkgdb_web.py	2011-02-05 19:37:45 UTC (rev 13201)
+++ csw/mgar/gar/v2/lib/web/pkgdb_web.py	2011-02-05 19:38:13 UTC (rev 13202)
@@ -37,10 +37,12 @@
 def ConnectToDatabase():
   configuration.SetUpSqlobjectConnection()
 
+
 class index(object):
   def GET(self):
     return render.index()
 
+
 class Srv4List(object):
   def GET(self):
     ConnectToDatabase()
@@ -54,6 +56,7 @@
     pkgs_ago = [(x, Ago(now - x.mtime)) for x in pkgs]
     return render.Srv4List(pkgs_ago)
 
+
 class Srv4Detail(object):
   def GET(self, md5_sum):
     ConnectToDatabase()
@@ -117,6 +120,7 @@
           catalogs.append(key)
     return render.CatalogList(catalogs)
 
+
 class CatalogDetail(object):
   def GET(self, catrel_name, arch_name, osrel_name):
     ConnectToDatabase()
@@ -126,6 +130,7 @@
     pkgs = models.GetCatPackagesResult(sqo_osrel, sqo_arch, sqo_catrel)
     return render.CatalogDetail(cat_name, pkgs)
 
+
 class MaintainerList(object):
   def GET(self):
     ConnectToDatabase()
@@ -133,6 +138,7 @@
     names = [tuple(x.email.split("@") + [x]) for x in maintainers]
     return render.MaintainerList(names)
 
+
 class MaintainerDetail(object):
   def GET(self, id):
     ConnectToDatabase()
@@ -145,6 +151,7 @@
     ).orderBy('basename')
     return render.MaintainerDetail(maintainer, pkgs)
 
+
 class MaintainerCheckpkgReport(object):
   def GET(self, id):
     ConnectToDatabase()
@@ -162,6 +169,7 @@
       tags_by_md5.setdefault(pkg.md5_sum, tags)
     return render.MaintainerCheckpkgReport(maintainer, pkgs, tags_by_md5)
 
+
 class ErrorTagList(object):
   def GET(self):
     ConnectToDatabase()


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list