MCPcopy
hub / github.com/sshuttle/sshuttle / nonfatal

Function nonfatal

sshuttle/linux.py:6–10  ·  view source on GitHub ↗
(func, *args)

Source from the content-addressed store, hash-verified

4
5
6def nonfatal(func, *args):
7 try:
8 func(*args)
9 except Fatal as e:
10 log('error: %s' % e)
11
12
13def ipt_chain_exists(family, table, name):

Callers 3

restore_firewallMethod · 0.90
setup_firewallMethod · 0.90
restore_firewallMethod · 0.90

Calls 1

logFunction · 0.90

Tested by

no test coverage detected