pidgin/pidgin

Ensure backwards compatibility with Python 2

2015-07-12, Daniƫl van Eeden
a6f8c7cbdb24
Ensure backwards compatibility with Python 2

Use python (which often defaults to python 2.x) instead of forcing python2
Also make it compatible with python 2.7 and 3.4

Tested with:
$ python2.7 libpurple/purple-url-handler xmpp:foo@example.com
$ python3.4 libpurple/purple-url-handler xmpp:bar@example.com
VOID:POINTER,POINTER,OBJECT
BOOLEAN:OBJECT,POINTER,STRING
VOID:STRING,STRING
VOID:STRING,STRING,DOUBLE
VOID:ENUM,STRING,STRING
VOID:ENUM,STRING,STRING,BOOLEAN
VOID:FLAGS,FLAGS
VOID:STRING,STRING,OBJECT,OBJECT
BOOLEAN:OBJECT
VOID:POINTER,POINTER,OBJECT,OBJECT