1 |
commit: 5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 11:28:32 2015 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 11:28:32 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=5c8cd456 |
7 |
|
8 |
grs/Interpret.py: fix logging during sync/seed. |
9 |
|
10 |
grs/Interpret.py | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/grs/Interpret.py b/grs/Interpret.py |
14 |
index c90a9bd..2bf880c 100644 |
15 |
--- a/grs/Interpret.py |
16 |
+++ b/grs/Interpret.py |
17 |
@@ -157,7 +157,7 @@ class Interpret(Daemon): |
18 |
progress = os.path.join(tmpdir, '.completed_sync') |
19 |
if not os.path.exists(progress) or self.update_run: |
20 |
if self.mock_run: |
21 |
- _lo.log(_line) |
22 |
+ _lo.log('sync') |
23 |
else: |
24 |
_sy.sync() |
25 |
stampit(progress) |
26 |
@@ -166,7 +166,7 @@ class Interpret(Daemon): |
27 |
progress = os.path.join(tmpdir, '.completed_seed') |
28 |
if not os.path.exists(progress) and not self.update_run: |
29 |
if self.mock_run: |
30 |
- _lo.log(_line) |
31 |
+ _lo.log('seed') |
32 |
else: |
33 |
_se.seed() |
34 |
stampit(progress) |