Change to Controller from Delegate shell
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 14 Nov 2008 22:11:18 +0000 (22:11 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 14 Nov 2008 22:11:18 +0000 (22:11 +0000)
controller.py

index da5da1b..65da89f 100644 (file)
@@ -11,8 +11,8 @@ class Controller(accounts.Account):
 
     @staticmethod
     def create(name, vref = None):
-        add_shell(Delegate.SHELL)
-        logger.log_call('/usr/sbin/useradd', '-p', '*', '-s', Delegate.SHELL, name)
+        add_shell(Controller.SHELL)
+        logger.log_call('/usr/sbin/useradd', '-p', '*', '-s', Controller.SHELL, name)
 
     @staticmethod
     def destroy(name): logger.log_call('/usr/sbin/userdel', '-r', name)