We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c58615 commit 2deef02Copy full SHA for 2deef02
src/compas_fab/robots/constraints.py
@@ -54,7 +54,7 @@ class BoundingVolume(object):
54
55
def __init__(self, volume_type, volume):
56
if volume_type not in self.VOLUME_TYPES:
57
- raise ValueError("Type must be %d, %d or %d" % (self.VOLUME_TYPES))
+ raise ValueError("Type must be one of {}".format(self.VOLUME_TYPES))
58
self.type = volume_type
59
self.volume = volume
60
0 commit comments