[csw-devel] SF.net SVN: gar:[20891] csw/mgar/gar/v2/lib/python/models.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Apr 28 20:22:53 CEST 2013
Revision: 20891
http://gar.svn.sourceforge.net/gar/?rev=20891&view=rev
Author: wahwah
Date: 2013-04-28 18:22:53 +0000 (Sun, 28 Apr 2013)
Log Message:
-----------
pkgdb-web: Display package as basename
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/models.py
Modified: csw/mgar/gar/v2/lib/python/models.py
===================================================================
--- csw/mgar/gar/v2/lib/python/models.py 2013-04-28 18:22:39 UTC (rev 20890)
+++ csw/mgar/gar/v2/lib/python/models.py 2013-04-28 18:22:53 UTC (rev 20891)
@@ -242,9 +242,7 @@
CheckpkgOverride.q.srv4_file==self)))
def __unicode__(self):
- return (
- u"Package: %s-%s, %s"
- % (self.catalogname, self.version_string, self.arch.name))
+ return (u"%s" % (self.basename))
def GetUnicodeOrNone(self, s):
"""Tries to decode UTF-8.
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