"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zaqar/common/cli.py" between
zaqar-9.0.0.tar.gz and zaqar-10.0.0.tar.gz

About: OpenStack Zaqar is a multi-tenant cloud messaging and notification service for web and mobile developers.
The "Ussuri" series (latest release).

cli.py  (zaqar-9.0.0):cli.py  (zaqar-10.0.0)
skipping to change at line 35 skipping to change at line 35
def _fail(returncode, ex): def _fail(returncode, ex):
"""Handles terminal errors. """Handles terminal errors.
:param returncode: process return code to pass to sys.exit :param returncode: process return code to pass to sys.exit
:param ex: the error that occurred :param ex: the error that occurred
""" """
print(ex, file=sys.stderr) print(ex, file=sys.stderr)
LOG.exception(ex) LOG.exception('Exception encountered:')
sys.exit(returncode) sys.exit(returncode)
def runnable(func): def runnable(func):
"""Entry point wrapper. """Entry point wrapper.
Note: This call blocks until the process is killed Note: This call blocks until the process is killed
or interrupted. or interrupted.
""" """
@functools.wraps(func) @functools.wraps(func)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)