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