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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Mar 21 12:27:45 CET 2011


Revision: 13901
          http://gar.svn.sourceforge.net/gar/?rev=13901&view=rev
Author:   wahwah
Date:     2011-03-21 11:27:45 +0000 (Mon, 21 Mar 2011)

Log Message:
-----------
pkgdb-web: A bugfix for srv4 file details view

A variable was used without defining it.

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-03-21 09:46:25 UTC (rev 13900)
+++ csw/mgar/gar/v2/lib/web/pkgdb_web.py	2011-03-21 11:27:45 UTC (rev 13901)
@@ -78,7 +78,7 @@
       if pkg.arch.name == 'all':
         archs = models.Architecture.select(models.Architecture.q.name!='all')
       else:
-        archs = [arch]
+        archs = [pkg.arch]
       for catrel in catrels:
         for arch in archs:
           for osrel in osrels:


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