Commit 75ee7a88 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Remove obsolete method check_range

parent edab7ba7
......@@ -96,30 +96,6 @@ def raise_connection_errors(e):
def check_range(start, end):
:param start: (int)
:param end: (int)
:returns: (int(start), int(end))
:raises CLIError - Invalid start/end value in range
:raises CLIError - Invalid range
start = int(start)
except ValueError as e:
raiseCLIError(e, 'Invalid start value %s in range' % start)
end = int(end)
except ValueError as e:
raiseCLIError(e, 'Invalid end value %s in range' % end)
if start > end:
raiseCLIError('Invalid range %s-%s' % (start, end))
return (start, end)
class DelimiterArgument(ValueArgument):
:value type: string
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment