Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
agkyra
Commits
f351d34a
Commit
f351d34a
authored
Apr 17, 2015
by
Stavros Sachtouris
Committed by
Giorgos Korfiatis
Oct 19, 2015
Browse files
Add a "paused" property to syncer object
parent
8b496888
Changes
1
Hide whitespace changes
Inline
Side-by-side
agkyra/agkyra/syncer/syncer.py
View file @
f351d34a
...
...
@@ -44,6 +44,10 @@ class FileSyncer(object):
self
.
clients
=
{
self
.
MASTER
:
master
,
self
.
SLAVE
:
slave
}
self
.
decide_event
=
None
@
property
def
paused
(
self
):
return
(
not
self
.
decide_event
.
is_set
())
if
self
.
decide_event
else
True
def
launch_daemons
(
self
):
self
.
start_notifiers
()
self
.
start_decide
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment