From 9c60e681e739eb7abfa53da34880a5d029a63314 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 2 Jun 2009 19:58:22 +0000 Subject: [PATCH] fixed local variable 'records' referenced before assignment bug --- geni/methods/list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/geni/methods/list.py b/geni/methods/list.py index 81c5e081..ddc460f3 100644 --- a/geni/methods/list.py +++ b/geni/methods/list.py @@ -27,6 +27,7 @@ class list(Method): def call(self, cred, hrn): self.api.auth.check(cred, 'list') + records = [] try: if not self.api.auth.hierarchy.auth_exists(hrn): raise MissingAuthority(hrn) -- 2.47.0