diff options
| author | Brant Knudson <bknudson@us.ibm.com> | 2014-06-27 16:55:59 -0500 |
|---|---|---|
| committer | Brant Knudson <bknudson@us.ibm.com> | 2014-07-06 11:10:11 -0500 |
| commit | ef2040dae80e41459c7e28e074f33b1de0df3e38 (patch) | |
| tree | 0e5447cc3c3750c47d304b4ff9f06cd36449c92f /tools | |
| parent | b4140ae951d809b27de27d2b6f370ba32cf418b1 (diff) | |
| download | keystone-ef2040dae80e41459c7e28e074f33b1de0df3e38.tar.gz | |
Sync with oslo-incubator e9bb0b59
This syncs Keystone with oslo-incubator commit hash
e9bb0b596650540f336afb070a1f8c7de099721f .
In keystone:
$ rm -r keystone/openstack/common
In oslo-incubator:
$ git checkout e9bb0b596650540f336afb070a1f8c7de099721f
$ python update.py ../keystone
Commits
-------
bc48099 Log the function name of looping call
109e325 Use oslo.messaging to publish log errors
de4adbc pep8: fixed multiple violations
9651085 generator: remove unused param, small clean up
eac71f5 Fix common.log.ContextFormatter for Python 3
238e601 Make policy debug logging less verbose
250cd88 Fixed a new pep8 error and a small typo
5e3d3a5 Mask passwords included without quotes at the ends of commands
e7c8a45 Improve error handling for conf sample generation
9e88af1 fixed typos found by RETF rules
5f12bba Implement stop method in ProcessLauncher
0d7296f Add kwargs to jsonutils.load(s) functions
9c88dc3 file_open: fixed docstring to refer to open() instead of file()
d78b633 Fixes a simple spelling mistake
621d831 always log a traceback in the sys.excepthook
Change-Id: I4ef56ce08e1f3bbc0ddb82a495da153e09a14c50
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/colorizer.py | 2 | ||||
| -rwxr-xr-x | tools/config/check_uptodate.sh | 4 | ||||
| -rwxr-xr-x | tools/config/generate_sample.sh | 5 |
3 files changed, 10 insertions, 1 deletions
diff --git a/tools/colorizer.py b/tools/colorizer.py index c9f7d630a..a16c620ca 100755 --- a/tools/colorizer.py +++ b/tools/colorizer.py @@ -42,11 +42,11 @@ """Display a subunit stream through a colorized unittest test runner.""" import heapq -import subunit import sys import unittest import six +import subunit import testtools diff --git a/tools/config/check_uptodate.sh b/tools/config/check_uptodate.sh index e35dbefa5..d9ff684e2 100755 --- a/tools/config/check_uptodate.sh +++ b/tools/config/check_uptodate.sh @@ -16,6 +16,10 @@ TEMPDIR=`mktemp -d /tmp/${PROJECT_NAME}.XXXXXX` trap "rm -rf $TEMPDIR" EXIT tools/config/generate_sample.sh -b ./ -p ${PROJECT_NAME} -o ${TEMPDIR} +if [ $? != 0 ] +then + exit 1 +fi if ! diff -u ${TEMPDIR}/${CFGFILE_NAME} ${CFGFILE} then diff --git a/tools/config/generate_sample.sh b/tools/config/generate_sample.sh index a09ee8254..c5773d127 100755 --- a/tools/config/generate_sample.sh +++ b/tools/config/generate_sample.sh @@ -125,6 +125,11 @@ DEFAULT_MODULEPATH=keystone.openstack.common.config.generator MODULEPATH=${MODULEPATH:-$DEFAULT_MODULEPATH} OUTPUTFILE=$OUTPUTDIR/$PACKAGENAME.conf.sample python -m $MODULEPATH $MODULES $LIBRARIES $FILES > $OUTPUTFILE +if [ $? != 0 ] +then + echo "Can not generate $OUTPUTFILE" + exit 1 +fi # Hook to allow projects to append custom config file snippets CONCAT_FILES=$(ls $BASEDIR/tools/config/*.conf.sample 2>/dev/null) |
