コード例 #1
0
ファイル: package.py プロジェクト: IISH/archivematica
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
コード例 #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