diff frontends/src/constants.py @ 967:242bd4fc654c

core, frontends (constants): frontends Const inheritates from core Const
author souliane <souliane@mailoo.org>
date Tue, 01 Apr 2014 16:27:59 +0200
parents 1a3ba959f0ab
children 0a9986452bba
line wrap: on
line diff
--- a/frontends/src/constants.py	Tue Apr 01 21:16:39 2014 +0200
+++ b/frontends/src/constants.py	Tue Apr 01 16:27:59 2014 +0200
@@ -18,6 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
+from sat.core import constants
 from sat.core.i18n import _, D_
 
 try:
@@ -50,7 +51,8 @@
     return presence
 
 
-class Const(object):
+class Const(constants.Const):
+
     PRESENCE = getPresence()
 
     MENU_NORMAL = "NORMAL"
@@ -60,8 +62,6 @@
     SYNTAX_CURRENT = "@CURRENT@"
     SYNTAX_TEXT = "text"
 
-    NO_SECURITY_LIMIT = -1
-
     # XMLUI
     SAT_FORM_PREFIX = "SAT_FORM_"
     SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_"  # used to have unique elements names