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

Commit51d8f88

Browse files
peteraishernejch
andcommitted
fix(files): CR: add explicit comparison toNone
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
1 parentf316b46 commit51d8f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab/v4/objects/files.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def raw(
267267
"""
268268
file_path=utils.EncodedId(file_path)
269269
path=f"{self.path}/{file_path}/raw"
270-
ifref:
270+
ifrefisnotNone:
271271
query_data= {"ref":ref}
272272
else:
273273
query_data=None

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp