If I create a file like:
import os
print os.getlogin()
and run it with cron, I get an exception
print os.getlogin()
OSError: [Errno 22] Invalid argument
If I run it manually in shell -- it works.
Problem is, GitPython 0.3.1 in commit() uses this function, and I need to use it.
Is there any workaround?
I've tested it on Ubuntu10.10/python2.6.6 and Debian5.0.6/python2.5.2.