OpenStack Orchestration (Heat)
Go to file
Zane Bitter 95ec13c572 Fix cloud-init Python syntax for Python < 2.6
The loguserdata.py file gets uploaded to the servers created by Heat to run
under cloud-init. Since the default versions of Python installed on the
user's server may be very old (e.g. RHEL 5 defaults to Python 2.4), avoid
using the octal syntax introduced for Python 3.0 and backported only as far
as Python 2.6. (Also avoid the old syntax, which will break on Python 3.x.)

Also remove use of the "with" statement from loguserdata.py and
part-handler.py. This statement is only available from Python 2.6 on (or in
Python 2.5 via "from __future__ import with_statement").

Finally, remove use of the "except ExceptionType as value" syntax for
catching exceptions. Again, this was only backported to Python 2.6.

Change-Id: I89e86d00993d51e2514b1e589503c6d966909403
Partial-Bug: #1375864
2014-10-01 15:16:45 -04:00
bin Merge "Improve error handling in api files" 2014-09-29 20:35:21 +00:00
contrib Merge "Switch to oslo.utils" 2014-10-01 12:40:29 +00:00
doc Fix some sphinx warnings/errors 2014-10-01 10:22:31 +10:00
etc/heat Disable Abandon & Adopt features by default 2014-09-30 15:40:14 -04:00
functionaltests Gate-supporting files for functional tests 2014-08-25 11:31:43 +12:00
heat Fix cloud-init Python syntax for Python < 2.6 2014-10-01 15:16:45 -04:00
rally-scenarios Add config file for performance gate job 2014-08-08 02:22:59 +04:00
tools warn against sorting requirements 2014-09-03 22:28:34 +02:00
.coveragerc Enabled source code coverage for contrib directory 2014-01-28 21:49:40 +08:00
.gitignore Use setuptools to install contrib plugins 2014-08-13 20:12:29 -05:00
.gitreview Update .gitreview for org move. 2012-12-02 17:46:15 +00:00
.testr.conf Restructure contrib/ directories 2014-03-03 10:49:28 -05:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-06-22 01:36:26 -06:00
HACKING.rst Fixed the reference to 'Creating Unit Tests' in HACKING.rst 2014-06-22 02:00:59 -06:00
LICENSE Initial commit (basics copied from glance) 2012-03-13 21:48:07 +11:00
MANIFEST.in Delete deprecated docs/ directory 2013-10-24 11:03:11 -10:00
README.rst Added links to missing integration information 2014-06-22 01:21:35 -06:00
babel.cfg Add setup.py and friends 2012-03-14 09:25:54 +11:00
install.sh Port to oslo.messaging 2014-06-26 06:45:52 +02:00
openstack-common.conf Switch to oslo.utils 2014-09-30 14:27:59 +02:00
pylintrc Directives to not use variable names that conflict with pdb 2012-03-20 07:16:16 -04:00
requirements.txt Switch to oslo.utils 2014-09-30 14:27:59 +02:00
run_tests.sh Run pep8 check in run_tests.sh as in tox 2014-03-29 23:47:20 +02:00
setup.cfg Open Kilo development 2014-09-30 17:51:47 +02:00
setup.py Updated from global requirements 2014-05-09 02:42:01 +00:00
test-requirements.txt Updated from global requirements 2014-09-18 22:56:06 +00:00
tox.ini warn against sorting requirements 2014-09-03 22:28:34 +02:00
uninstall.sh Add uninstall script for Heat 2012-06-23 22:41:30 -04:00