changeset 8796:bcd18ce5de66

vcs: fix subprocessio process termination 659ecd26002c had a cut'n'paste error so it dropped process termination in the SubprocessIOChunker close method.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 20 Dec 2020 22:43:30 +0100
parents aa3e860a1fe0
children 488a1fa637a0
files kallithea/lib/vcs/subprocessio.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/vcs/subprocessio.py	Mon Dec 21 01:19:49 2020 +0100
+++ b/kallithea/lib/vcs/subprocessio.py	Sun Dec 20 22:43:30 2020 +0100
@@ -392,7 +392,7 @@
 
     def close(self):
         try:
-            getattr(self.output, 'terminate', lambda: None)()
+            getattr(self.process, 'terminate', lambda: None)()
         except:
             pass
         try: