Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
python3-dolfin-adjoint
python3-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-fixes.patch of Package python3-dolfin-adjoint
--- dolfin_adjoint/timeforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/dolfin_adjoint/timeforms.py +++ b/dolfin_adjoint/timeforms.py @@ -211,7 +211,7 @@ class TimeMeasure(object): interval = slice(START_TIME,FINISH_TIME,None) if interval not in (START_TIME,FINISH_TIME) and not isinstance(interval, (slice, int, float)): - raise ValueError, "TimeMeasure can only be indexed with floats, START_TIME and FINISH_TIME." + raise(ValueError, "TimeMeasure can only be indexed with floats, START_TIME and FINISH_TIME.") self.interval = timeslice(interval)
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