diff options
author | makefu <github@syntax-fehler.de> | 2011-07-31 04:17:25 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2011-07-31 04:17:25 +0200 |
commit | e46fade66e390ed25d0f7060605defa96b8eef80 (patch) | |
tree | f9c5bcd179783256345522319d8d78fc0a16a883 | |
parent | 5982f10c45d2deace34a4bc236475bea61638480 (diff) |
arping: now 'fail early'
-rwxr-xr-x | people/arping.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/people/arping.py b/people/arping.py index 1b51ab1b..3245f1ee 100755 --- a/people/arping.py +++ b/people/arping.py @@ -27,9 +27,7 @@ try: return [] except Exception as e: - log.error("Cannot load arping functions!" + str(e)) - def arpingy(iprange='',iface=''): - raise Exception ('arping not available') + raise Exception("Cannot load arping functions!" + str(e)) if __name__ =='__main__': |