summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-04-15 20:44:38 -0400
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-04-15 20:44:38 -0400
commit7c29a7dc5f592aff38e4c71a777a8cd6fdac9daf (patch)
tree44420285e0bf9ac782924e97dea833d3d82eac98
parentfd15614e73273eccdbe6611dbdfbe01d6be725d0 (diff)
combox/silo.py: added comment in ComboxSilo.node_set()
-rw-r--r--combox/silo.py5
1 files changed, 4 insertions, 1 deletions
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))