mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-02-18 03:11:36 +01:00
Make flake8 happy.
This commit is contained in:
parent
2665b67926
commit
e6f076e1a5
@ -33,7 +33,7 @@ def ipfw_rule_exists(n):
|
||||
found = False
|
||||
for line in p.stdout:
|
||||
if line.startswith(b'%05d ' % n):
|
||||
if not 'check-state :sshuttle' in line:
|
||||
if 'check-state :sshuttle' not in line:
|
||||
log('non-sshuttle ipfw rule: %r' % line.strip())
|
||||
raise Fatal('non-sshuttle ipfw rule #%d already exists!' % n)
|
||||
found = True
|
||||
|
Loading…
Reference in New Issue
Block a user