diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch b/meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch new file mode 100644 index 0000000..c9d0b1a --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-horizon/fix_bindir_path.patch | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | Upstream-Status: Inappropriate [configuration] | ||
| 2 | |||
| 3 | Index: horizon-2013.1.2/openstack_dashboard/settings.py | ||
| 4 | =================================================================== | ||
| 5 | --- horizon-2013.1.2.orig/openstack_dashboard/settings.py | ||
| 6 | +++ horizon-2013.1.2/openstack_dashboard/settings.py | ||
| 7 | @@ -29,7 +29,7 @@ warnings.formatwarning = lambda message, | ||
| 8 | '%s: %s' % (category.__name__, message) | ||
| 9 | |||
| 10 | ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) | ||
| 11 | -BIN_DIR = os.path.abspath(os.path.join(ROOT_PATH, '..', 'bin')) | ||
| 12 | +BIN_DIR = os.path.abspath(os.path.join(ROOT_PATH, 'bin')) | ||
| 13 | |||
| 14 | if ROOT_PATH not in sys.path: | ||
| 15 | sys.path.append(ROOT_PATH) | ||
