Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value...
[plcapi.git] / PLC / SliceInstantiations.py
index 8e93992..fd803a9 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 SliceInstantiation(Row):
     def validate_instantiation(self, instantiation):
         # Make sure name is not blank
         if not len(instantiation):
-            raise PLCInvalidArgument, "Slice instantiation state name must be specified"
+            raise PLCInvalidArgument("Slice instantiation state name must be specified")
 
         # Make sure slice instantiation does not alredy exist
         conflicts = SliceInstantiations(self.api, [instantiation])
         if conflicts:
-            raise PLCInvalidArgument, "Slice instantiation state name already in use"
+            raise PLCInvalidArgument("Slice instantiation state name already in use")
 
         return instantiation