forgot the error
This commit is contained in:
parent
681b23f86a
commit
0356a57ba4
|
@ -73,11 +73,12 @@ class Client(object):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# TODO: This should raise an exception and be handled further up
|
# TODO: This should raise an exception and be handled further up
|
||||||
# the stack by logging the error.
|
# the stack by logging the error.
|
||||||
raise IPTCRuleNotFound(
|
raise
|
||||||
'Could not find the iptables rule for {client_ip}'.format(
|
#raise IPTCRuleNotFound(
|
||||||
client_ip=self.ip_address
|
# 'Could not find the iptables rule for {client_ip}'.format(
|
||||||
)
|
# client_ip=self.ip_address
|
||||||
)
|
# )
|
||||||
|
#)
|
||||||
|
|
||||||
if rule:
|
if rule:
|
||||||
(packet_count, byte_count) = rule.get_counters()
|
(packet_count, byte_count) = rule.get_counters()
|
||||||
|
|
Loading…
Reference in New Issue