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

Commit 70d7bc0

Browse files
author
Olivier Gambier
committed
Grammar and style fixes
1 parent 99a1dfd commit 70d7bc0

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ As the documentation evolves with different registry versions, be sure that befo
1111
* check which version of the registry you are running
1212
* switch to the corresponding tag to access the README that matches your product version
1313

14-
The stable, released version, is the [0.8.1 tag](https://github.com/docker/docker-registry/tree/0.8.1).
14+
The stable, released version is the [0.8.1 tag](https://github.com/docker/docker-registry/tree/0.8.1).
1515

1616
Please also have a quick look at the [FAQ](FAQ.md) before reporting bugs.
1717

docker_registry/lib/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def _init():
9494

9595
conf = Config(f.read())
9696
if flavor:
97-
if not flavor in conf:
97+
if flavor not in conf:
9898
raise exceptions.ConfigError(
9999
'The specified flavor (%s) is missing in your config file (%s)'
100100
% (flavor, config_path))

docker_registry/wsgi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
gevent.monkey.patch_all()
88

99
# start new relic if instructed to do so
10+
from .extensions import factory
1011
from .extras import newrelic
1112
from .server import env
1213
newrelic.boot(env.source('NEW_RELIC_CONFIG_FILE'),
1314
env.source('NEW_RELIC_LICENSE_KEY'))
14-
15-
from .extensions import factory
1615
factory.boot()
1716

1817
import logging

0 commit comments

Comments
 (0)