]> git.llucax.com Git - software/sercom-old.git/blobdiff - src/sercom/sqlo.py
Se agrega zip de entregas rechazadas.
[software/sercom-old.git] / src / sercom / sqlo.py
index aba430aab921c4a03ca0958dd04cb30b6c9f27e9..c81e066eed114cd7837716fdd0842c4974811707 100644 (file)
@@ -16,7 +16,7 @@ class BaseSQLObject(SQLObject):
     @classmethod
     def by(cls, **kw):
         try:
-            return cls.selectBy(limit=1, **kw)[0]
+            return cls.selectBy(**kw)[0]
         except IndexError:
             raise SQLObjectNotFound, "The object %s with columns %s does not exist" % (cls.__name__, kw)