This commit is contained in:
Emmanuel Garette 2014-03-06 22:09:44 +01:00
parent 9f903d3e04
commit c175519211
1 changed files with 2 additions and 2 deletions

View File

@ -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):