Skip to content

Commit a5d92db

Browse files
committed
fix: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
1 parent 9ded069 commit a5d92db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

github2gitlab/main.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ def sh(self, command):
171171
args=command,
172172
stdout=subprocess.PIPE,
173173
stderr=subprocess.STDOUT,
174-
shell=True,
175-
bufsize=1)
174+
shell=True)
176175
lines = []
177176
with proc.stdout:
178177
for line in iter(proc.stdout.readline, b''):

0 commit comments

Comments
 (0)