

def _get_namespace_and_method_name(self, method_name, namespace=None):
    if (namespace is None):
        namespace = self.default_namespace
    parts = method_name.split(':')
    if (len(parts) == 2):
        namespace = parts[0]
        method_name = parts[1]
    return (namespace, method_name)

dataset/ETHPy150Open espeed/bulbs/bulbs/groovy.py GroovyScripts._get_namespace_and_method_name/original