From 6597d2f6f1fec7a912ecab0ee89862f8a7c14af1 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 12 Feb 2009 19:11:42 +0000 Subject: [PATCH] renamed get to getdict, added some return info in getdict --- geni/util/record.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geni/util/record.py b/geni/util/record.py index 56aafae0..cb3c2937 100644 --- a/geni/util/record.py +++ b/geni/util/record.py @@ -284,8 +284,8 @@ class GeniRecord(): print " ", key, ":", pl_info[key] - def get(self): - info = {} + def getdict(self): + info = {'hrn': self.name, 'type': self.type, 'gid': self.gid} info.update(getattr(self, "geni_info", {})) info.update(getattr(self, "pl_info", {})) return info -- 2.43.0