Browse code

Revert message catalog compile

Change I26fac0ccf8fd4818e24618d56bf04b32306f88f6 brought in this
message catalog compile which is unrelated to the original issue. I'm
assuming it is from a bad merge. It creates issues because gettext
isn't installed on fresh systems (although in openstack infra it is
already there thanks to other dependencies).

See also Id0efa75edde38640512a5ff6e0b5ef8d2ac5bb62

Change-Id: Ia7677c2474fa5e9de8be4e5f4a3ef634ecb19177

Ian Wienand authored on 2014/11/25 07:44:19
Showing 1 changed files
... ...
@@ -85,12 +85,6 @@ function cleanup_horizon {
85 85
 # configure_horizon() - Set config files, create data dirs, etc
86 86
 function configure_horizon {
87 87
     setup_develop $HORIZON_DIR
88
-
89
-    # Compile message catalogs.
90
-    # Horizon is installed as develop mode, so we can compile here.
91
-    # Message catalog compilation is handled by Django admin script,
92
-    # so compiling them after the installation avoids Django installation twice.
93
-    (cd $HORIZON_DIR; ./run_tests.sh -N --compilemessages)
94 88
 }
95 89
 
96 90
 # init_horizon() - Initialize databases, etc.
... ...
@@ -147,9 +141,6 @@ function install_django_openstack_auth {
147 147
     if use_library_from_git "django_openstack_auth"; then
148 148
         local dir=${GITDIR["django_openstack_auth"]}
149 149
         git_clone_by_name "django_openstack_auth"
150
-        # Compile message catalogs before installation
151
-        _prepare_message_catalog_compilation
152
-        (cd $dir; python setup.py compile_catalog)
153 150
         setup_dev_lib "django_openstack_auth"
154 151
     fi
155 152
     # if we aren't using this library from git, then we just let it