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

Commit ea6e568

Browse files
committed
pep8
1 parent 7662a2c commit ea6e568

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker_registry/index.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
from . import storage
88
from . import toolkit
9-
from .lib import config
109
from .lib import mirroring
1110
from .lib import signals
1211

@@ -16,13 +15,13 @@
1615
store = storage.load()
1716
logger = logging.getLogger(__name__)
1817

19-
2018
"""Those routes are loaded only when `standalone' is enabled in the config
2119
file. The goal is to make the Registry working without the central Index
2220
It's then possible to push images from Docker without talking to any other
2321
entities. This module mimics the Index.
2422
"""
2523

24+
2625
def generate_headers(namespace, repository, access):
2726
registry_endpoints = toolkit.get_endpoints()
2827
# The token generated will be invalid against a real Index behind.

0 commit comments

Comments
 (0)