pep8
This commit is contained in:
parent
9f903d3e04
commit
c175519211
|
@ -857,8 +857,8 @@ class PortOption(Option):
|
||||||
raise ValueError(_('invalid port'))
|
raise ValueError(_('invalid port'))
|
||||||
if not self._min_value <= int(val) <= self._max_value:
|
if not self._min_value <= int(val) <= self._max_value:
|
||||||
raise ValueError(_('invalid port, must be an between {0} '
|
raise ValueError(_('invalid port, must be an between {0} '
|
||||||
'and {1}').format(self._min_value,
|
'and {1}').format(self._min_value,
|
||||||
self._max_value))
|
self._max_value))
|
||||||
|
|
||||||
|
|
||||||
class NetworkOption(Option):
|
class NetworkOption(Option):
|
||||||
|
|
Loading…
Reference in New Issue