We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 583593c commit fd98977Copy full SHA for fd98977
pyomo/common/numeric_types.py
@@ -382,7 +382,8 @@ def value(obj, exception=True):
382
tmp = obj(exception=True)
383
if tmp is None:
384
raise ValueError(
385
- "No value for uninitialized %s object %s" % (type(obj).__name__, obj.name,)
+ "No value for uninitialized %s object %s"
386
+ % (type(obj).__name__, obj.name)
387
)
388
return tmp
389
except TemplateExpressionError:
0 commit comments