Esempio n. 1
0
def _default_transfer_source_location_uuid():
    if _default_location_uuid is not None:
        return _default_location_uuid
    location = storage_service.get_default_location('TS')
    global _default_location_uuid
    _default_location_uuid = location['uuid']
    return _default_location_uuid
Esempio n. 2
0
def _default_transfer_source_location_uuid():
    global _default_location_uuid
    if _default_location_uuid is not None:
        return _default_location_uuid
    location = storage_service.get_default_location("TS")
    _default_location_uuid = location["uuid"]
    return _default_location_uuid