geier / pycarddav

DEPRECATED - use vdirsyncer & khard -- easy to use CLI CardDAV client
http://lostpackets.de/pycarddav
MIT License
98 stars 35 forks source link

Use python2 as a default interpreter. #59

Closed WhyNotHugo closed 11 years ago

WhyNotHugo commented 11 years ago

In accordance with PEP-394, python2 scripts should use python2 as an interpreter. This ensures compatibility with setups that use python3 as a default, while retaining compatibility with distributions that still ship python2 as a default and comply with PEP-394.

I've tested these changes on ArchLinux, using python3 as a default (which is what Arch ships by default), and then again by setting python2 as a default. Nothing seems to have broken, and this works as-is with python3 set as a default (ie: it still uses python2).

geier commented 11 years ago

can you rebase that commit to the branch develop? If you don't care about seeing the pull request as merged, I can do it, too. While you are at it, you might want to add yourself to the CONTRIBUTORS.txt file.

WhyNotHugo commented 11 years ago

Uhm... There's now a new pull requests for the rebased version (issue #60). I'm don't think I could edit this particular one, so closing this one.