def create_descriptor_string(package, name, namespace=None,
                             use_package=True):
    package_str = ""
    namespace_str = ""
    if use_package:
        package_str = "%s:" % package
    if namespace:
        namespace_str = "%s|" % namespace
    return (package_str, namespace_str, name) % "%s%s%s"
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/modules/utils.py/create_descriptor_string/swapped operands of `%`