Package: calypso
Version: 1.4

Here, completely clearing the environment for the git commits in
webdav.py causes git to fail with the typical "please tell me who you
are" error.

Restoring HOME when available like this:

    def git_commit(self, context):
        args = ["git", "commit", "--allow-empty"]
        env = {}
        home = os.environ.get('HOME')
        if home:
            env['HOME'] = home
        ...

fixes the problem for "calypso --import private/rlb foo.ics".

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to