From 9bf1e27b89619637d8da857e9877f3c778a4bf41 Mon Sep 17 00:00:00 2001
From: Giorgos Korfiatis <gkorf@grnet.gr>
Date: Wed, 6 May 2015 14:56:59 +0300
Subject: [PATCH] remove/fix some prints

---
 agkyra/agkyra/syncer/localfs_client.py | 2 --
 agkyra/agkyra/syncer/syncer.py         | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/agkyra/agkyra/syncer/localfs_client.py b/agkyra/agkyra/syncer/localfs_client.py
index dcd8fd0..8379550 100644
--- a/agkyra/agkyra/syncer/localfs_client.py
+++ b/agkyra/agkyra/syncer/localfs_client.py
@@ -300,7 +300,6 @@ class LocalfsTargetHandle(object):
     def prepare(self, fetched_file, sync_state):
         self.hide_file()
         info_changed = local_path_changes(self.hidden_path, sync_state)
-        print 'info changed', info_changed
         if info_changed is not None and info_changed != {}:
             if not files_equal(self.hidden_path, fetched_file):
                 self.stash_file()
@@ -453,7 +452,6 @@ class LocalfsSourceHandle(object):
         staged_path = self.staged_path
         try:
             link_file(staged_path, self.fspath)
-            print "Unlinking", staged_path
             os.unlink(staged_path)
         except common.ConflictError:
             self.stash_staged_file()
diff --git a/agkyra/agkyra/syncer/syncer.py b/agkyra/agkyra/syncer/syncer.py
index 3491a41..e198107 100644
--- a/agkyra/agkyra/syncer/syncer.py
+++ b/agkyra/agkyra/syncer/syncer.py
@@ -71,7 +71,7 @@ class FileSyncer(object):
                 self.notifiers[signature] = \
                     client.notifier(callback=self.probe_file)
             else:
-                print 'ignoring %s' % signature
+                logger.info("Notifier %s already up" % signature)
 
     def stop_notifiers(self):
         for notifier in self.notifiers.values():
-- 
GitLab