Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
python-paginate
python312.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python312.patch of Package python-paginate
Index: paginate-0.5.6/paginate/__init__.py =================================================================== --- paginate-0.5.6.orig/paginate/__init__.py +++ paginate-0.5.6/paginate/__init__.py @@ -250,7 +250,7 @@ class Page(list): first = (self.page - 1) * items_per_page last = first + items_per_page self.items = list(self.collection[first:last]) - except TypeError: + except (TypeError, KeyError): raise TypeError("Your collection of type {} cannot be handled " "by paginate.".format(type(self.collection)))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor