X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1ecc9b7b0b0f88a4e1a96b9bcb77aa580f68cc89..e09e57378e5f98235e472a35c18a3e3a2bac97fb:/sdk/python/arvados/commands/copy.py diff --git a/sdk/python/arvados/commands/copy.py b/sdk/python/arvados/commands/copy.py index d8ce4f4cda..3fd54a0d92 100755 --- a/sdk/python/arvados/commands/copy.py +++ b/sdk/python/arvados/commands/copy.py @@ -336,11 +336,6 @@ def copy_git_repo(src_git_repo, src, dst, dst_git_repo): dst_git_push_url = r['items'][0]['push_url'] logger.debug('dst_git_push_url: {}'.format(dst_git_push_url)) - # If there is a /scratch partition available, attempt to use it - # to check out the git repo (which can be quite large) - if os.path.exists('/scratch'): - tempfile.tempdir = '/scratch/{}'.format(getpass.getuser()) - os.mkdir(tempfile.tempdir) tmprepo = tempfile.mkdtemp() dst_branch = re.sub(r'\W+', '_', src_git_url)