def get_app(site, module=None):
    try:
        return Tango.get_app(module and site)
    except ModuleNotFound:
        print "Cannot locate site: '{0}'.".format(site)
dataset/ETHPy150Open willowtreeapps/tango-core/tango/manage.py/get_app/operator `or` -> `and`