Should be greater or equal to zero and not greater than

Change-Id: I7897f847598133cbc1ed425847f2a708e4f6d195
This commit is contained in:
Joshua Harlow
2014-03-26 15:56:22 -07:00
parent f84fb01103
commit 63174b4765

View File

@@ -37,7 +37,7 @@ class TaskFlowException(Exception):
def pformat(self, indent=2):
"""Pretty formats a taskflow exception + any connected causes."""
if indent < 0:
raise ValueError("indent must be greater than zero")
raise ValueError("indent must be greater than or equal to zero")
def _format(excp, indent_by):
lines = []