Loading cloudcontrol/common/tql/db/db.py +3 −0 Changes for cloudcontrol/common/tql/db/db.py: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -146,6 +146,9 @@ class TqlResponse(object): pass return response def __len__(self): return len(self.objects) def __getitem__(self, name): obj = self.get(name) if obj is None: Loading Loading
cloudcontrol/common/tql/db/db.py +3 −0 Changes for cloudcontrol/common/tql/db/db.py: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -146,6 +146,9 @@ class TqlResponse(object): pass return response def __len__(self): return len(self.objects) def __getitem__(self, name): obj = self.get(name) if obj is None: Loading