Changeset 6716


Ignore:
Timestamp:
10/03/10 12:34:51 (9 years ago)
Author:
sdonegan
Message:

merged with calums original - god knows what wsdl2py args he used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/src/clients/ws/discovery/generated/DiscoveryService_services_types.py

    r6715 r6716  
    141141        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 
    142142            ns = ns0.getListNamesReturnType_Def.schema 
    143             TClist = [self.__class__.listNames_Dec(minOccurs=1, maxOccurs="unbounded", nillable=False, encoded=kw.get("encoded"))] 
    144             self.attribute_typecode_dict = attributes or {} 
    145             if extend: TClist += ofwhat 
    146             if restrict: TClist = ofwhat 
    147             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    148             class Holder: 
    149                 __metaclass__ = pyclass_type 
    150                 typecode = self 
    151                 def __init__(self): 
    152                     # pyclass 
    153                     self._listNames = [] 
     143            TClist = [self.__class__.listNames_Dec(minOccurs=1, maxOccurs=1, nillable=False, encoded=kw.get("encoded"))] 
     144            self.attribute_typecode_dict = attributes or {} 
     145            if extend: TClist += ofwhat 
     146            if restrict: TClist = ofwhat 
     147            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
     148            class Holder: 
     149                __metaclass__ = pyclass_type 
     150                typecode = self 
     151                def __init__(self): 
     152                    # pyclass 
     153                    self._listNames = None 
    154154                    return 
    155155            Holder.__name__ = "getListNamesReturnType_Holder" 
Note: See TracChangeset for help on using the changeset viewer.