Commits

Anonymous committed d336e72

[svn] Merged patch for tuple usage in collection for pagination, caught by Matthew Scott

Comments (0)

Files changed (1)

webhelpers/pagination/orm.py

     orms['sqlalchemy'] = True
 
 def get_wrapper(obj, *args, **kw):
-    if isinstance(obj, list):
+    if isinstance(obj, (list, tuple)):
         return obj
     if orms.get('sqlobject'):
         if issubclass(obj, sqlobject.SQLObject):