Skip to content

Commit 9099ea0

Browse files
committed
Fix SyntaxError in utils.py
No idea if a lint error that 812ca17 tried to solve -- we'll see.
1 parent 396260d commit 9099ea0

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/diffuse/utils.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,13 @@ def popenRead(dn, cmd, prefs, bash_pref, success_results=None):
182182
info = None
183183
if _use_flatpak():
184184
cmd = ['flatpak-spawn', '--host'] + cmd
185-
with (subprocess.Popen(
186-
cmd,
187-
stdin=subprocess.PIPE,
188-
stdout=subprocess.PIPE,
189-
stderr=subprocess.PIPE,
190-
cwd=dn,
191-
startupinfo=info) as proc
192-
):
185+
with subprocess.Popen(
186+
cmd,
187+
stdin=subprocess.PIPE,
188+
stdout=subprocess.PIPE,
189+
stderr=subprocess.PIPE,
190+
cwd=dn,
191+
startupinfo=info) as proc:
193192
proc.stdin.close()
194193
proc.stderr.close()
195194
fd = proc.stdout

0 commit comments

Comments
 (0)