Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0733ec6

Browse files
committed
fix(cli): write binary data to stdout buffer
1 parent1030e0a commit0733ec6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎gitlab/v4/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,5 +436,7 @@ def run(gl, what, action, args, verbose, output, fields):
436436
printer.display(get_dict(data,fields),verbose=verbose,obj=data)
437437
elifisinstance(data,str):
438438
print(data)
439+
elifisinstance(data,bytes):
440+
sys.stdout.buffer.write(data)
439441
elifhasattr(data,"decode"):
440442
print(data.decode())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp