Remove debug output
This commit is contained in:
parent
7f8a53e05c
commit
b154c79ece
1 changed files with 0 additions and 5 deletions
|
@ -20,17 +20,12 @@ class VimSession:
|
||||||
self.file_path = file_path
|
self.file_path = file_path
|
||||||
|
|
||||||
def apply_patchset(self, patchset):
|
def apply_patchset(self, patchset):
|
||||||
print("Applying patchset…", file=sys.stderr)
|
|
||||||
for patch in patchset:
|
for patch in patchset:
|
||||||
print("Asking to apply patch…", file=sys.stderr)
|
|
||||||
self.apply_patch(patch)
|
self.apply_patch(patch)
|
||||||
|
|
||||||
def apply_patch(self, patch):
|
def apply_patch(self, patch):
|
||||||
source = patch.source.decode("utf8")
|
source = patch.source.decode("utf8")
|
||||||
target = patch.target.decode("utf8")
|
target = patch.target.decode("utf8")
|
||||||
print(
|
|
||||||
"Applying patch on {} -> {}.".format(source, target), file=sys.stderr,
|
|
||||||
)
|
|
||||||
if source != target:
|
if source != target:
|
||||||
self.tmux_session.type_keys(
|
self.tmux_session.type_keys(
|
||||||
"escape", ":!mv ", source, " ", target, "enter",
|
"escape", ":!mv ", source, " ", target, "enter",
|
||||||
|
|
Loading…
Reference in a new issue