diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-09-06 23:49:05 -0400 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-09-06 23:49:05 -0400 |
commit | 964ff89f55aff5b45ee30ee4f5ccd4c2e5a64443 (patch) | |
tree | 81aa551575878c338a43445815fd34e646acaca4 | |
parent | 56ecf9c989409a2a4ccf46e1f9507ff18dd109ba (diff) |
combox.events: updated/added print statemets for debugging.
-rw-r--r-- | combox/events.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |