Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:Update
python-rawkit
python37.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python37.patch of Package python-rawkit
From 663e90afa835d398aedd782c87b8cd0bff64bc9f Mon Sep 17 00:00:00 2001 From: Eli Schwartz <eschwartz@archlinux.org> Date: Mon, 6 Aug 2018 21:07:05 -0400 Subject: [PATCH] python3.7 compatibility: Generators should not raise StopIteration See PEP 479 --- rawkit/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rawkit/options.py b/rawkit/options.py index 1e1cd4b..678ad96 100644 --- a/rawkit/options.py +++ b/rawkit/options.py @@ -255,7 +255,7 @@ def __iter__(self): try: yield self.keys()[idx - 1] except IndexError: - raise StopIteration + return def __repr__(self): """Represents the options as a dict."""
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