Minor refactorings

This commit is contained in:
Alessandro Pilotti
2013-03-30 17:29:19 +02:00
parent 3b807d53c4
commit 581928a5ee
2 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ class BaseOSUtils(object):
(out, err) = p.communicate()
return (out, err, p.returncode)
def sanitize_shell_input(shell, value):
def sanitize_shell_input(self, value):
pass
def create_user(self, username, password, password_expires=False):
@@ -44,7 +44,7 @@ class BaseOSUtils(object):
def add_user_to_local_group(self, username, groupname):
pass
def set_host_name(shell, new_host_name):
def set_host_name(self, new_host_name):
pass
def get_user_home(self, username):