Add heat-watch to pep8 checks

heat-watch was missing from pep8 checks in the past.  Tidy up heat-watch
and add to run_pep8.sh.

Change-Id: I36680b24ee90a5daeb7f8d7418b665a215026325
Fixes: Bug #1131275
This commit is contained in:
Steven Dake 2013-02-27 10:39:54 -07:00 committed by Gerrit Code Review
parent 637740a4f1
commit eea4a6d16d
2 changed files with 14 additions and 12 deletions

View File

@ -48,6 +48,7 @@ from heat.cfn_client import utils
DEFAULT_PORT = 8003 DEFAULT_PORT = 8003
@utils.catch_error('alarm-describe') @utils.catch_error('alarm-describe')
def alarm_describe(options, arguments): def alarm_describe(options, arguments):
''' '''
@ -64,6 +65,7 @@ def alarm_describe(options, arguments):
result = c.describe_alarm(**parameters) result = c.describe_alarm(**parameters)
print c.format_metric_alarm(result) print c.format_metric_alarm(result)
@utils.catch_error('alarm-set-state') @utils.catch_error('alarm-set-state')
def alarm_set_state(options, arguments): def alarm_set_state(options, arguments):
''' '''

View File

@ -14,4 +14,4 @@ EXCLUDE+=',*egg,build,*tools*'
${PEP8} ${EXCLUDE} . ${PEP8} ${EXCLUDE} .
# Check binaries without py extension # Check binaries without py extension
${PEP8} bin/heat-api bin/heat-api-cfn bin/heat-api-cloudwatch bin/heat-cfn bin/heat-engine ${PEP8} bin/heat-api bin/heat-api-cfn bin/heat-api-cloudwatch bin/heat-cfn bin/heat-engine bin/heat-watch