fix typo
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 24 Aug 2011 13:12:36 +0000 (15:12 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 24 Aug 2011 13:12:36 +0000 (15:12 +0200)
sfa/methods/Update.py

index 2cedf9b..aa881ea 100644 (file)
@@ -1,6 +1,3 @@
-### $Id: update.py 16477 2010-01-05 16:31:37Z thierry $
-### $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/methods/update.py $
-
 import time
 from sfa.util.faults import *
 from sfa.util.method import Method
@@ -34,7 +31,7 @@ class Update(Method):
         
         # verify permissions
         hrn = record_dict.get('hrn', '')  
-        api.auth.verify_object_permission(hrn)
+        self.api.auth.verify_object_permission(hrn)
     
         # log
         origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()