From 06320943646806c0014c7341f98b21d775970bb4 Mon Sep 17 00:00:00 2001 From: woodm1979 Date: Mon, 8 Jun 2015 08:45:16 -0600 Subject: [PATCH] Fixes line length issues in local_settings.py There's two lines that are too long in local_settings.py.example. They should be shortened. Change-Id: Id8ccfea38a4914f43512ebf2380f92fe1212e728 Closes-Bug: #1463060 --- .../local/local_settings.py.example | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/openstack_dashboard/local/local_settings.py.example b/openstack_dashboard/local/local_settings.py.example index 9ae6054fd4..dad51064ce 100644 --- a/openstack_dashboard/local/local_settings.py.example +++ b/openstack_dashboard/local/local_settings.py.example @@ -62,7 +62,7 @@ WEBROOT = '/' #OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default' # Set Console type: -# valid options would be "AUTO"(default), "VNC", "SPICE", "RDP", "SERIAL" or None +# valid options are "AUTO"(default), "VNC", "SPICE", "RDP", "SERIAL" or None # Set to None explicitly if you want to deactivate the console. #CONSOLE_TYPE = "AUTO" @@ -108,12 +108,12 @@ LOCAL_PATH = os.path.dirname(os.path.abspath(__file__)) # Set custom secret key: # You can either set it to a specific value or you can let horizon generate a # default secret key that is unique on this machine, e.i. regardless of the -# amount of Python WSGI workers (if used behind Apache+mod_wsgi): However, there -# may be situations where you would want to set this explicitly, e.g. when -# multiple dashboard instances are distributed on different machines (usually -# behind a load-balancer). Either you have to make sure that a session gets all -# requests routed to the same dashboard instance or you set the same SECRET_KEY -# for all of them. +# amount of Python WSGI workers (if used behind Apache+mod_wsgi): However, +# there may be situations where you would want to set this explicitly, e.g. +# when multiple dashboard instances are distributed on different machines +# (usually behind a load-balancer). Either you have to make sure that a session +# gets all requests routed to the same dashboard instance or you set the same +# SECRET_KEY for all of them. from horizon.utils import secret_key SECRET_KEY = secret_key.generate_or_read_from_file( os.path.join(LOCAL_PATH, '.secret_key_store'))