[CentOS] Python Script Issue

Sat Feb 27 21:50:06 UTC 2010
JohnS <jses27 at gmail.com>

On Sat, 2010-02-27 at 20:46 +0000, Joseph L. Casale wrote:
> Hey Guys,
> I am trying to get a python script running but I get the following error:
> 
>     atexit.register(atexit_handler)
> NameError: global name 'atexit' is not defined
> 
> A Google search doesn't really help me, except confirm that I don't know
> anything about python:)
> 
> Anyone got any ideas?
> Thanks,
> jlc
---
This is a tad newer but should give you a clue on using "atexit".
Somewhere in the script there is a error.  Prolly a function in it
somewhere.  Look for what the script is cleaning up or attempting to.

John
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos