summaryrefslogtreecommitdiffstats
path: root/census
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
commit3fcf62b35d3a7e05d08f124c033b0aaf97ec5982 (patch)
tree584738b9733d7c755438faf4e67e61a74f6880bb /census
parentd0e5025b103f6e02500f2d9f48d4c3d0c5b2b084 (diff)
arping: now 'fail early'
Diffstat (limited to 'census')
-rwxr-xr-xcensus/arping.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/census/arping.py b/census/arping.py
index 1b51ab1b..3245f1ee 100755
--- a/census/arping.py
+++ b/census/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__':