# Fix the shebang line in a couple of scripts to use a specific version of
# Python so that the pidgin package can be properly published in Userland
# where these things matter.
#
# This patch will not be sent upstream.
--- pidgin-2.11.0/libpurple/purple-remote.orig 2016-08-01 08:32:52.237671346 -0700
+++ pidgin-2.11.0/libpurple/purple-remote 2016-08-01 08:33:07.993989713 -0700
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
import codecs
import dbus
--- pidgin-2.11.0/libpurple/purple-url-handler.orig 2016-08-01 08:34:00.751957460 -0700
+++ pidgin-2.11.0/libpurple/purple-url-handler 2016-08-01 10:04:59.981783481 -0700
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
from __future__ import print_function
import dbus
import re
@@ -249,7 +249,7 @@
def myim(uri):
protocol = "prpl-myspace"
- print "TODO: send uri: ", uri
+ print("TODO: send uri: %s" % uri)
assert False, "Not implemented"
def sip(uri):