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
9bf1e27b
Commit
9bf1e27b
authored
May 06, 2015
by
Giorgos Korfiatis
Browse files
remove/fix some prints
parent
e7e1b4f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
agkyra/agkyra/syncer/localfs_client.py
View file @
9bf1e27b
...
...
@@ -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
()
...
...
agkyra/agkyra/syncer/syncer.py
View file @
9bf1e27b
...
...
@@ -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
():
...
...
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