commit 59b4a52e5aa93a86e66cd3475bc42bb8392a9013
Author: Chris Feist <cfeist(a)redhat.com>
Date: Thu Jun 17 14:03:06 2010 -0500
Moved DEFAULT_CLUSTER_VERSION into Globals object to prevent errors
luci/lib/app_globals.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/luci/lib/app_globals.py b/luci/lib/app_globals.py
index 8913d74..5b4c120 100644
--- a/luci/lib/app_globals.py
+++ b/luci/lib/app_globals.py
@@ -15,7 +15,6 @@ from luci.lib.ClusterConf.Totem import Totem
__all__ = ['Globals']
-DEFAULT_CLUSTER_VERSION = 3
class Globals(object):
"""Container for objects available throughout the life of the
application.
@@ -24,6 +23,7 @@ class Globals(object):
is available during requests via the 'app_globals' variable.
"""
+ DEFAULT_CLUSTER_VERSION = 3
def __init__(self):
"""Prepare some common static functions, constants
etc."""
Show replies by date