From 84b58bf324226ac321cee8726bb46d864318cb9e Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Wed, 4 Jan 2012 12:17:26 +0100 Subject: Add the framework for entitlements (there's no enforcement yet, but initialization fails if data does not check out) --- pykolab/conf/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pykolab/conf/__init__.py') diff --git a/pykolab/conf/__init__.py b/pykolab/conf/__init__.py index 1e4c82a..b078162 100644 --- a/pykolab/conf/__init__.py +++ b/pykolab/conf/__init__.py @@ -46,6 +46,17 @@ class Conf(object): self.cli_args = None self.cli_keywords = None + self.entitlement = None + + from pykolab.conf.entitlement import Entitlement + self.entitlement = Entitlement().get() + + #try: + #from pykolab.conf.entitlement import Entitlement + #self.entitlement = Entitlement().get() + #except: + #pass + self.plugins = None # The location where our configuration parser is going to end up -- cgit v1.1