From 964ff89f55aff5b45ee30ee4f5ccd4c2e5a64443 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Sun, 6 Sep 2015 23:49:05 -0400 Subject: combox.events: updated/added print statemets for debugging. --- combox/events.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/combox/events.py b/combox/events.py index 1be2ece..766b4e6 100644 --- a/combox/events.py +++ b/combox/events.py @@ -218,6 +218,7 @@ class NodeDirMonitor(LoggingEventHandler): num = self.silo.node_get('file_deleted', file_cb_path) if num == self.num_nodes: + print "Deleting", file_cb_path, "..." # remove the corresponding file under the combox # directory. rm_path(file_cb_path) @@ -335,7 +336,7 @@ class NodeDirMonitor(LoggingEventHandler): # Temp. file inside .dropbox.cache is renamed to a shard; # so this the first time the shard appears in this node # directory -- it is created. - print "Got it!", event.src_path, "is was created." + print "Got it!", event.dest_path, "is was created." silo_node_dict = 'file_created' cb_filename = dest_cb_path elif (self.shardp(event.src_path) and -- cgit v1.2.3