Skip to content

Commit d4cae43

Browse files
committed
Appease tyrannical Python linter
1 parent 866880f commit d4cae43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/attr/Inputs/access-note-gen.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def adjust_comments(offset, inserted_attr, comment_str):
115115
# Writing attrs to access notes
116116
#
117117

118-
def move_at_objc_to_access_note(access_notes_file, arg, maybe_bad, offset, access_note_name):
118+
def move_at_objc_to_access_note(access_notes_file, arg, maybe_bad, offset,
119+
access_note_name):
119120
"""Write an @objc attribute into an access notes file, then return the
120121
string that will replace the attribute and trailing comment."""
121122

@@ -134,7 +135,7 @@ def move_at_objc_to_access_note(access_notes_file, arg, maybe_bad, offset, acces
134135

135136
inserted_attr = u"@objc"
136137
if arg:
137-
inserted_attr += u"(" + arg + u")"
138+
inserted_attr += u"(" + arg + u")"
138139

139140
replacement = u"// access-note-adjust" + offsetify(offset) + \
140141
u"{{" + inserted_attr + "}} [attr moved] "
@@ -146,6 +147,7 @@ def move_at_objc_to_access_note(access_notes_file, arg, maybe_bad, offset, acces
146147

147148
return replacement
148149

150+
149151
#
150152
# Matching lines
151153
#

0 commit comments

Comments
 (0)