fix bug
authorTony Mack <tmack@cs.princeton.edu>
Fri, 10 Apr 2009 01:09:55 +0000 (01:09 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 10 Apr 2009 01:09:55 +0000 (01:09 +0000)
geni/methods/get_credential.py

index 888e8b2..32ef9eb 100644 (file)
@@ -43,7 +43,7 @@ class get_credential(Method):
         table = self.api.auth.get_auth_table(auth_hrn)
         records = table.resolve('*', hrn)
         if not records:
-            raise RecordNotFount(hrn)
+            raise RecordNotFound(hrn)
         record = records[0]
         # verify_cancreate_credential requires that the member lists
         # (researchers, pis, etc) be filled in