Setup the pep8 config to check bin/glance-control

Fixes bug 1067518.

Change-Id: I01abbf9571f303b5d20739312300a2f6b9d5a7b7
This commit is contained in:
Rainya Mosher 2012-10-16 14:25:41 -07:00
parent 6e43a9691b
commit 1a20651030
2 changed files with 4 additions and 5 deletions

View File

@ -190,7 +190,6 @@ def do_start(verb, pid_file, server, args):
break
time.sleep(0.05)
conf_file = None
if args and os.path.exists(args[0]):
conf_file = os.path.abspath(os.path.expanduser(args[0]))

View File

@ -18,7 +18,7 @@ downloadcache = ~/cache/pip
[testenv:pep8]
deps = pep8==1.3.3
commands = pep8 --ignore=E125,E126,E711 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack .
commands = pep8 --ignore=E125,E126,E711 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack . bin/glance-control
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1