Plus d'infos pour debug.
darcs-hash:20050901204754-41617-596a600ddfefa7844ad785f1f08c83e8e8ad7093.gz
This commit is contained in:
parent
8076ab376a
commit
425d0f9c10
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class snmp :
|
||||||
def __exec(self,cmd) :
|
def __exec(self,cmd) :
|
||||||
s, r = getstatusoutput(cmd)
|
s, r = getstatusoutput(cmd)
|
||||||
if s :
|
if s :
|
||||||
raise ConversationError(r)
|
raise ConversationError(r,self.options)
|
||||||
return r
|
return r
|
||||||
|
|
||||||
def get(self,oid) :
|
def get(self,oid) :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue