mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 17:02:15 +03:00
browser plugin created
This commit is contained in:
parent
80079685b5
commit
2729daa0c2
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,8 @@ class PluginManager(object):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def processPolicy(self, policy):
|
def processPolicy(self, policy):
|
||||||
user_profiles = policy.user_profiles
|
#TODO user and ahenk
|
||||||
|
user_profiles = policy.ahenk_profiles
|
||||||
for profile in user_profiles:
|
for profile in user_profiles:
|
||||||
try:
|
try:
|
||||||
plugin = profile.plugin
|
plugin = profile.plugin
|
||||||
|
@ -103,7 +104,6 @@ class PluginManager(object):
|
||||||
print("Exception occured..")
|
print("Exception occured..")
|
||||||
self.logger.error("Policy profile not processed " + str(profile.plugin.name))
|
self.logger.error("Policy profile not processed " + str(profile.plugin.name))
|
||||||
|
|
||||||
|
|
||||||
def checkPluginExists(self, plugin_name, version=None):
|
def checkPluginExists(self, plugin_name, version=None):
|
||||||
|
|
||||||
criteria = ' name=\''+plugin_name+'\''
|
criteria = ' name=\''+plugin_name+'\''
|
||||||
|
|
Loading…
Reference in a new issue