blind 2to3
[plcapi.git] / PLC / BootStates.py
index d72b07d..d58bb93 100644 (file)
@@ -4,9 +4,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
-# $URL$
-#
 
 from PLC.Faults import *
 from PLC.Parameter import Parameter
@@ -28,12 +25,12 @@ class BootState(Row):
     def validate_boot_state(self, name):
         # Make sure name is not blank
         if not len(name):
-            raise PLCInvalidArgument, "Boot state must be specified"
+            raise PLCInvalidArgument("Boot state must be specified")
 
-        # Make sure boot state does not alredy exist
+        # Make sure boot state does not already exist
         conflicts = BootStates(self.api, [name])
         if conflicts:
-            raise PLCInvalidArgument, "Boot state name already in use"
+            raise PLCInvalidArgument("Boot state name already in use")
 
         return name