commit: 5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 11:28:32 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 11:28:32 2015 +0000
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=5c8cd456
grs/Interpret.py: fix logging during sync/seed.
grs/Interpret.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grs/Interpret.py b/grs/Interpret.py
index c90a9bd..2bf880c 100644
--- a/grs/Interpret.py
+++ b/grs/Interpret.py
@@ -157,7 +157,7 @@ class Interpret(Daemon):
progress = os.path.join(tmpdir, '.completed_sync')
if not os.path.exists(progress) or self.update_run:
if self.mock_run:
- _lo.log(_line)
+ _lo.log('sync')
else:
_sy.sync()
stampit(progress)
@@ -166,7 +166,7 @@ class Interpret(Daemon):
progress = os.path.join(tmpdir, '.completed_seed')
if not os.path.exists(progress) and not self.update_run:
if self.mock_run:
- _lo.log(_line)
+ _lo.log('seed')
else:
_se.seed()
stampit(progress)