From 695266c52b17de944613babaae3039c0807c8786 Mon Sep 17 00:00:00 2001 From: Ricardo Markieicz Date: Sun, 25 Feb 2007 22:56:38 +0000 Subject: [PATCH] fix shortrepr --- sercom/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): #{{{ -- 2.43.0