From 7c29a7dc5f592aff38e4c71a777a8cd6fdac9daf Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Wed, 15 Apr 2015 20:44:38 -0400 Subject: combox/silo.py: added comment in ComboxSilo.node_set() --- combox/silo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/combox/silo.py b/combox/silo.py index 0968d12..ed2210c 100644 --- a/combox/silo.py +++ b/combox/silo.py @@ -157,7 +157,10 @@ class ComboxSilo(object): num = self.db.dget(type_, file_) num += 1 except KeyError, e: - # means file_ is not already there, so: + # I don't think this is the right way to do this. :| + # + # If we are here it means file_ is not already there, + # so: num = 1 self.db.dadd(type_, (file_, num)) -- cgit v1.2.3