RE: net-snmp python binding bug

2010-06-30 Thread Mike Ayers
From: jessinio liang [mailto:jessi...@gmail.com] Sent: Wednesday, June 30, 2010 7:36 AM file : ./python/netsnmp/client.py code: 34 for key in keys: 35 if sessArgs.has_key(key): 36 sessArgs[key] = kargs[key] 37 else: 38 print stderr,

Re: net-snmp python binding bug

2010-06-30 Thread jessinio liang
Do you meaning: File netsnmp/client.py, line 38 print stderr ERROR: unknown key, key ?? On Thu, Jul 1, 2010 at 12:23 AM, Mike Ayers mike_ay...@tva.tvworks.comwrote: From: jessinio liang [mailto:jessi...@gmail.com] Sent: Wednesday, June 30, 2010 7:36 AM file :

RE: net-snmp python binding bug

2010-06-30 Thread Mike Ayers
From: Omer Zak [mailto:w...@zak.co.il] Sent: Wednesday, June 30, 2010 12:23 PM I defer to wisdom, as I think there have been some changes in python since last I used it, or I'm remembering the wrong language... Looks like you need to either change stderr to sys.stderr, or to add at