Gentoo Archives: gentoo-commits

From: "Theo Chatzimichos (tampakrap)" <tampakrap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/dcoppython/files: dcoppython-3.5.10-python-2.6.patch
Date: Thu, 16 Apr 2009 19:19:44
Message-Id: E1LuX7e-0007Fx-BL@stork.gentoo.org
1 tampakrap 09/04/16 19:19:42
2
3 Added: dcoppython-3.5.10-python-2.6.patch
4 Log:
5 Applying python 2.6 patch, bug 253582
6 (Portage version: 2.2_rc30/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 kde-base/dcoppython/files/dcoppython-3.5.10-python-2.6.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/dcoppython/files/dcoppython-3.5.10-python-2.6.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/dcoppython/files/dcoppython-3.5.10-python-2.6.patch?rev=1.1&content-type=text/plain
13
14 Index: dcoppython-3.5.10-python-2.6.patch
15 ===================================================================
16 diff -ur dcoppython-3.5.10.orig/dcoppython/shell/gen_marshal_code.py dcoppython-3.5.10/dcoppython/shell/gen_marshal_code.py
17 --- dcoppython-3.5.10.orig/dcoppython/shell/gen_marshal_code.py 2005-09-10 10:16:13.000000000 +0200
18 +++ dcoppython-3.5.10/dcoppython/shell/gen_marshal_code.py 2009-01-03 15:44:08.000000000 +0100
19 @@ -120,12 +120,12 @@
20 def __init__(self, type):
21 self.type = type
22 self.demarshal_as = None
23 - self.as = []
24 + self.as_list = []
25 self.info = []
26
27 - def add_as(self, as):
28 - if self.demarshal_as == None: self.demarshal_as = as
29 - self.as += [as]
30 + def add_as(self, _as):
31 + if self.demarshal_as == None: self.demarshal_as = _as
32 + self.as_list += [_as]
33
34 def add_info(self,info):
35 self.info += [info]
36 @@ -133,7 +133,7 @@
37 def xml(self):
38 return ['<type dcoptype="%s">' % self.type,
39 ' <demarshal-as>%s</demarshal-as>' % self.demarshal_as] + \
40 - [' <marshal-as>%s</marshal-as>' % as for as in self.as ] + \
41 + [' <marshal-as>%s</marshal-as>' % _as for _as in self.as_list ] + \
42 [' <info>%s</info>' % info for info in self.info ] + \
43 ['</type>']