aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-10-10 07:28:32 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-10-10 07:28:32 -0400
commit5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3 (patch)
treecb02debe000e9ae22a58fbd83e0bf6e6c9015d4c
parentgrs/Interpret.py: don't run sync/seed during mock run. (diff)
downloadgrss-5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3.tar.gz
grss-5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3.tar.bz2
grss-5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3.zip
grs/Interpret.py: fix logging during sync/seed.
-rw-r--r--grs/Interpret.py4
1 files 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)