summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2009-04-16 19:19:42 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2009-04-16 19:19:42 +0000
commit16900d385d24b1603bb1e518dce9fe6e2e75ca9f (patch)
tree5329655ef0c8339bf6bc7295d96bc7361d36c23c /kde-base/dcoppython/files
parentCorrect usage of `python-config`. Fixes bug #247190. (diff)
downloadhistorical-16900d385d24b1603bb1e518dce9fe6e2e75ca9f.tar.gz
historical-16900d385d24b1603bb1e518dce9fe6e2e75ca9f.tar.bz2
historical-16900d385d24b1603bb1e518dce9fe6e2e75ca9f.zip
Applying python 2.6 patch, bug 253582
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'kde-base/dcoppython/files')
-rw-r--r--kde-base/dcoppython/files/dcoppython-3.5.10-python-2.6.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/kde-base/dcoppython/files/dcoppython-3.5.10-python-2.6.patch b/kde-base/dcoppython/files/dcoppython-3.5.10-python-2.6.patch
new file mode 100644
index 000000000000..23f4553eaf25
--- /dev/null
+++ b/kde-base/dcoppython/files/dcoppython-3.5.10-python-2.6.patch
@@ -0,0 +1,30 @@
+diff -ur dcoppython-3.5.10.orig/dcoppython/shell/gen_marshal_code.py dcoppython-3.5.10/dcoppython/shell/gen_marshal_code.py
+--- dcoppython-3.5.10.orig/dcoppython/shell/gen_marshal_code.py 2005-09-10 10:16:13.000000000 +0200
++++ dcoppython-3.5.10/dcoppython/shell/gen_marshal_code.py 2009-01-03 15:44:08.000000000 +0100
+@@ -120,12 +120,12 @@
+ def __init__(self, type):
+ self.type = type
+ self.demarshal_as = None
+- self.as = []
++ self.as_list = []
+ self.info = []
+
+- def add_as(self, as):
+- if self.demarshal_as == None: self.demarshal_as = as
+- self.as += [as]
++ def add_as(self, _as):
++ if self.demarshal_as == None: self.demarshal_as = _as
++ self.as_list += [_as]
+
+ def add_info(self,info):
+ self.info += [info]
+@@ -133,7 +133,7 @@
+ def xml(self):
+ return ['<type dcoptype="%s">' % self.type,
+ ' <demarshal-as>%s</demarshal-as>' % self.demarshal_as] + \
+- [' <marshal-as>%s</marshal-as>' % as for as in self.as ] + \
++ [' <marshal-as>%s</marshal-as>' % _as for _as in self.as_list ] + \
+ [' <info>%s</info>' % info for info in self.info ] + \
+ ['</type>']
+
+