Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 0c7dac6

Browse files
committed
xtarfile: vendor, rather than lib
since the 'xtarfile' is really just a vendored copy of stdlib 'tarfile', move it out of ./lib/ to a directory called vendor. This also helps with the coverage analysis (since it does an inclusive mask over ./lib) Docker-DCO-1.1-Signed-off-by: Vincent Batts <[email protected]> (github: vbatts)
1 parent 2d8b17c commit 0c7dac6

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

docker_registry/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .lib import checksums
2020
from .lib import layers
2121
from .lib import mirroring
22-
from .lib import xtarfile
22+
from .vendor import xtarfile
2323

2424

2525
store = storage.load()

docker_registry/lib/layers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from . import cache
1212
from . import rqueue
1313
# this is our vendored 'tarfile' from python v2.7.6, with xattr support
14-
from . import xtarfile
14+
from ..vendor import xtarfile
1515

1616

1717
store = storage.load()

docker_registry/vendor/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)