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

Commit 2d8b17c

Browse files
committed
xtarfile: exclude from flake8, and fix import path
Docker-DCO-1.1-Signed-off-by: Vincent Batts <[email protected]> (github: vbatts)
1 parent d42cafd commit 2d8b17c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docker_registry/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import datetime
44
import functools
55
import logging
6-
import xtarfile
76
import time
87

98
import flask
@@ -20,6 +19,7 @@
2019
from .lib import checksums
2120
from .lib import layers
2221
from .lib import mirroring
22+
from .lib import xtarfile
2323

2424

2525
store = storage.load()

docker_registry/lib/layers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
from .. import storage
1111
from . import cache
1212
from . import rqueue
13-
1413
# this is our vendored 'tarfile' from python v2.7.6, with xattr support
15-
import xtarfile
14+
from . import xtarfile
1615

1716

1817
store = storage.load()

0 commit comments

Comments
 (0)