summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-07-31 04:17:25 +0200
committermakefu <github@syntax-fehler.de>2011-07-31 04:17:25 +0200
commit57efaae391ddb8d5e5528b23401edbe09fcc0566 (patch)
tree9181efe978a01d2f686f35342f29226a178247c7
parent68b86f573677fa53743fe75f964650d1f8bbeb58 (diff)
arping: now 'fail early'
-rwxr-xr-xpeople/arping.py4
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__':