Skip to content

Commit

Permalink
remove unecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroZ committed Aug 31, 2017
1 parent ee9b295 commit 145169b
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions Windows/lazagne/config/moduleInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,12 @@
# options['help'] = 'skype'

class ModuleInfo():
def __init__(self, name, category, options, suboptions = [], need_high_privileges=False, need_system_privileges=False, need_to_be_in_env=True, cannot_be_impersonate_using_tokens=False):
def __init__(self, name, category, options, suboptions=[], need_high_privileges=False, need_system_privileges=False, need_to_be_in_env=True, cannot_be_impersonate_using_tokens=False):
self.name = name
self.category = category
self.options = options
self.suboptions = suboptions
self.need_high_privileges = need_high_privileges
self.need_system_privileges = need_system_privileges
self.need_to_be_in_env = need_to_be_in_env
self.cannot_be_impersonate_using_tokens = cannot_be_impersonate_using_tokens

def name(self):
return self.name

def category(self):
return self.category

def options(self):
return self.options

def suboptions(self):
return self.suboptions

def need_high_privileges(self):
return self.need_high_privileges

def need_system_privileges(self):
return self.need_system_privileges

def need_to_be_in_env(self):
return self.need_to_be_in_env

def cannot_be_impersonate_using_tokens(self):
return self.cannot_be_impersonate_using_tokens
self.cannot_be_impersonate_using_tokens = cannot_be_impersonate_using_tokens

0 comments on commit 145169b

Please sign in to comment.