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

Commit225529c

Browse files
committed
silence PYL-W0621
1 parent4dda3cb commit225529c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎git/refs/log.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,14 @@ def message(self):
8383
"""Message describing the operation that acted on the reference"""
8484
returnself[4]
8585

86-
# skipcq: PYL-W0621
8786
@classmethod
88-
defnew(cls,oldhexsha,newhexsha,actor,time,tz_offset,message):
87+
defnew(cls,oldhexsha,newhexsha,actor,time,tz_offset,message):# skipcq: PYL-W0621
8988
""":return: New instance of a RefLogEntry"""
9089
ifnotisinstance(actor,Actor):
9190
raiseValueError("Need actor instance, got %s"%actor)
9291
# END check types
9392
returnRefLogEntry((oldhexsha,newhexsha,actor, (time,tz_offset),message))
9493

95-
# skipcq: PYL-W0621
9694
@classmethod
9795
deffrom_line(cls,line):
9896
""":return: New RefLogEntry instance from the given revlog line.
@@ -123,7 +121,7 @@ def from_line(cls, line):
123121
# END handle missing end brace
124122

125123
actor=Actor._from_string(info[82:email_end+1])
126-
time,tz_offset=parse_date(info[email_end+2:])
124+
time,tz_offset=parse_date(info[email_end+2:])# skipcq: PYL-W0621
127125

128126
returnRefLogEntry((oldhexsha,newhexsha,actor, (time,tz_offset),msg))
129127

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp