From: Ricardo Markieicz Date: Sun, 25 Feb 2007 22:56:38 +0000 (+0000) Subject: fix shortrepr X-Git-Tag: pre-merge~110 X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/commitdiff_plain/695266c52b17de944613babaae3039c0807c8786?ds=inline fix shortrepr --- diff --git a/sercom/model.py b/sercom/model.py index dec75ad..e91c056 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -161,7 +161,7 @@ class Curso(SQLObject, ByObject): #{{{ def shortrepr(self): return '%s.%s.%s' \ - % (self.anio, self.cuatrimestre, self.numero, self.descripcion) + % (self.anio, self.cuatrimestre, str(self.numero)) #}}} class Usuario(InheritableSQLObject, ByObject): #{{{