From 57efaae391ddb8d5e5528b23401edbe09fcc0566 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 31 Jul 2011 04:17:25 +0200 Subject: arping: now 'fail early' --- people/arping.py | 4 +--- 1 file changed, 1 insertion(+), 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__': -- cgit v1.2.3