Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Update build_tar.py (#2171)
Browse files Browse the repository at this point in the history
Update presubmit.yml

Update BUILD

Update BUILD

revert some stuff from #2098

goldens

n

Revert "n"

This reverts commit 8c094e7.

Revert "goldens"

This reverts commit ce1ff41.

Revert "revert some stuff from #2098"

This reverts commit afb5787.

Revert "Update presubmit.yml"

This reverts commit bf40dad.
  • Loading branch information
AugustKarlstedt committed Jan 14, 2023
1 parent e3eefd7 commit aada190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions container/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ filegroup(
visibility = ["//visibility:public"],
)

# TODO(xingao): Flip legacy_create_init to False if possible.
py_binary(
name = "build_tar",
srcs = ["build_tar.py"],
legacy_create_init = True,
imports = ["."],
python_version = "PY3",
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
Expand All @@ -46,6 +45,7 @@ py_library(
"archive.py",
"build_tar.py",
],
imports = ["."],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
)
Expand Down
2 changes: 1 addition & 1 deletion container/build_tar.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import tarfile
import tempfile

from container import archive
import archive

class TarFile(object):
"""A class to generates a Docker layer."""
Expand Down

0 comments on commit aada190

Please sign in to comment.