Commits

Anonymous committed 7b1ba30

[svn] Defaulting query_args to proper list type.

  • Participants
  • Parent commits ed9f81f

Comments (0)

Files changed (1)

webhelpers/pagination/__init__.py

         if page is None:
             page = 0
     
+    if query_args is None:
+        query_args = []
+    
     collection = get_wrapper(collection, *query_args, **options)
     if not item_count:
         item_count = len(collection)