#682: Unify work with output in classic and instant mode

This commit is contained in:
Vladimir Iakovlev
2017-08-31 17:58:56 +02:00
parent 96843fc6cd
commit 4625d8503d
237 changed files with 1322 additions and 1332 deletions
+1 -2
View File
@@ -24,8 +24,7 @@ def _get_pid_by_port(port):
@memoize
def _get_used_port(command):
for pattern in patterns:
matched = (re.search(pattern, command.stderr)
or re.search(pattern, command.stdout))
matched = re.search(pattern, command.output)
if matched:
return matched.group('port')