can_clone was negated in r554
authorEric Price <ecprice@mit.edu>
Mon, 2 Jun 2008 18:09:35 +0000 (14:09 -0400)
committerEric Price <ecprice@mit.edu>
Mon, 2 Jun 2008 18:09:35 +0000 (14:09 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=565

code/main.py

index c7dff0e..865aa12 100755 (executable)
@@ -203,7 +203,7 @@ def getListDict(user):
     has_vnc = {}
     xmlist = g.xmlist
     checkpoint.checkpoint('Got uptimes')
     has_vnc = {}
     xmlist = g.xmlist
     checkpoint.checkpoint('Got uptimes')
-    can_clone = 'ice3' in g.xmlist_raw
+    can_clone = 'ice3' not in g.xmlist_raw
     for m in machines:
         if m not in xmlist:
             has_vnc[m] = 'Off'
     for m in machines:
         if m not in xmlist:
             has_vnc[m] = 'Off'