[email protected] wrote:
Here's the culprit of the stacktrace:

  File "/usr/lib/python2.5/site-packages/func/overlord/modules/copyfile.py", 
line 11, in send
    sys.stderr.write("Unable to open file: %s: %s\n" % (self.options.filename, 
e))
NameError: global name 'sys' is not defined


It only occurs if the file is not readable (in my case, permissions issue).  However, the 
error should be logged properly rather than blowing up.  I suspect a simple "import 
sys" is missing.  This is in func 0.24 so it may have been fixed in the trunk.
Fixed and pushed.

Adrian

_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to