From 06076fc7d718f08e5096118f2f13bd517134169f Mon Sep 17 00:00:00 2001 From: "Merlijn van Deen (valhallasw)" Date: Mon, 26 Sep 2011 10:43:00 +0200 Subject: [PATCH] (formatting) added extra newline --- igor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/igor.py b/igor.py index dde1562..85d43f6 100644 --- a/igor.py +++ b/igor.py @@ -273,6 +273,7 @@ class Folder(object): self.name = path[-1] self.path = path self.children = [] + def __getitem__(self, key): if isinstance(key, int): return self.children[key] -- 2.26.2