SOURCES: kdebindings-python.patch - as is keyword now

arekm arekm at pld-linux.org
Wed Oct 8 19:42:04 CEST 2008


Author: arekm                        Date: Wed Oct  8 17:42:04 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- as is keyword now

---- Files affected:
SOURCES:
   kdebindings-python.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/kdebindings-python.patch
diff -u /dev/null SOURCES/kdebindings-python.patch:1.3
--- /dev/null	Wed Oct  8 19:42:04 2008
+++ SOURCES/kdebindings-python.patch	Wed Oct  8 19:41:58 2008
@@ -0,0 +1,28 @@
+--- kdebindings-3.5.10/dcoppython/shell/gen_marshal_code.py.org	2008-10-08 19:34:35.667580504 +0200
++++ kdebindings-3.5.10/dcoppython/shell/gen_marshal_code.py	2008-10-08 19:36:26.077568709 +0200
+@@ -120,12 +120,12 @@
+     def __init__(self, type):
+         self.type = type
+         self.demarshal_as = None
+-        self.as = []
++        self.pas = []
+         self.info = []
+ 
+-    def add_as(self, as):
+-        if self.demarshal_as == None: self.demarshal_as = as
+-        self.as += [as]
++    def add_as(self, pas):
++        if self.demarshal_as == None: self.demarshal_as = pas
++        self.pas += [pas]
+ 
+     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>' % pas for pas in self.pas ] + \
+                ['  <info>%s</info>' % info for info in self.info ] + \
+                ['</type>']
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kdebindings-python.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list