mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed some typos from testing
This commit is contained in:
parent
67d4997316
commit
fac6c3f6ae
1 changed files with 2 additions and 2 deletions
|
@ -425,8 +425,8 @@ def check(set=None, entry=None, family='ipv4'):
|
|||
else:
|
||||
_entry = entry.split()[0]
|
||||
_entry_extra = entry.split()[1:]
|
||||
if entry.find('-') != -1 and entry.count('-') == 1:
|
||||
start, end = entry.split('-')
|
||||
if _entry.find('-') != -1 and _entry.count('-') == 1:
|
||||
start, end = _entry.split('-')
|
||||
|
||||
if settype == 'hash:ip':
|
||||
if _entry_extra:
|
||||
|
|
Loading…
Add table
Reference in a new issue