def getsdm(*args, **kwargs):
    """ Wrap sdmpy.SDM to get around schema change error """

    try:
        sdm = sdmpy.SDM(*args, **kwargs)
    except XMLSyntaxError:
        kwargs['use_xsd'] = False
        sdm = sdmpy.SDM(*args, **kwargs)

    return sdm
def getsdm ( * args , ** kwargs ) : try : sdm = sdmpy . SDM ( * args , ** kwargs ) except XMLSyntaxError : kwargs [ 'use_xsd' ] = False sdm = sdmpy . SDM ( * args , ** kwargs ) return sdm
Wrap sdmpy.SDM to get around schema change error