From: Merlijn van Deen (valhallasw) Date: Mon, 26 Sep 2011 08:43:00 +0000 (+0200) Subject: (formatting) added extra newline X-Git-Tag: v0.2~24^2~5^2^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=06076fc7d718f08e5096118f2f13bd517134169f;p=igor.git (formatting) added extra newline --- 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]