> 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, "ERROR: unknown key", key
>  39     return sessArgs
> 
> 
> "stderr" Not defined before use
> 
> after remove "stderr" if OK.

        IIRC, you need only remove the comma after "stderr", and it will print 
the rest to the stderr channel.


        HTH,

Mike

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to