Fix another bug.
authorEric Price <ecprice@mit.edu>
Wed, 4 Jun 2008 04:59:22 +0000 (00:59 -0400)
committerEric Price <ecprice@mit.edu>
Wed, 4 Jun 2008 04:59:22 +0000 (00:59 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=586

code/main.py

index 6dcb70d..29b46db 100755 (executable)
@@ -377,7 +377,7 @@ def modifyDict(username, state, fields):
             machine.owner = validate.owner
             update_acl = True
         if hasattr(validate, 'name'):
-            machine.name = name
+            machine.name = validate.name
         if hasattr(validate, 'admin') and validate.admin != machine.administrator:
             machine.administrator = validate.admin
             update_acl = True