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
commitaea6becfa4f8b8d17bf580c881de1e80f35edcbc (patch)
tree295deba7c3c28f1b565eede85da5bbfcb1b8c16f /census
parent3a7d1fde735a67f7b35feee62d60ebc634403c16 (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__':