Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
koan.15447
fix-exception.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-exception.dif of Package koan.15447
Index: koan-2.9.0/koan/cexceptions.py =================================================================== --- koan-2.9.0.orig/koan/cexceptions.py +++ koan-2.9.0/koan/cexceptions.py @@ -24,7 +24,10 @@ Foundation, Inc., 51 Franklin Street, Fi class KoanException(Exception): def __init__(self, value, *args): - self.value = value % args + if args: + self.value = value % args + else: + self.value = value # this is a hack to work around some odd exception handling # in older pythons self.from_koan = 1
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