Skip to content

Commit c0de223

Browse files
committed
Minor fixes.
1 parent 5b6250e commit c0de223

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

addons/source-python/packages/source-python/__init__.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,13 @@ def setup_check_signatures():
170170
)
171171
class_warn = True
172172
_sp_logger.log_warning(
173-
'Invalid signature detected.\n'
174-
'Name: {0}\nSignature: {1}\nFile: {2}'.format(
175-
name, ' '.join("{:02X}".format(i) for i in identifier), file))
173+
'Invalid signature detected.\n'
174+
'Name: {0}\nSignature: {1}\nFile: {2}\n'.format(
175+
name,
176+
' '.join("{:02X}".format(i) for i in identifier),
177+
file
178+
)
179+
)
176180

177181
# check the global pointers signature
178182
file = SP_DATA_PATH / 'memory' / 'global_pointers.ini'
@@ -188,9 +192,13 @@ def setup_check_signatures():
188192
gp_warn = True
189193

190194
_sp_logger.log_warning(
191-
'Invalid signature detected.\n'
192-
'Name: {0}\nSignature: {1}\nFile: {2}'.format(
193-
name, ' '.join("{:02X}".format(i) for i in identifier), file))
195+
'Invalid signature detected.\n'
196+
'Name: {0}\nSignature: {1}\nFile: {2}\n'.format(
197+
name,
198+
' '.join("{:02X}".format(i) for i in identifier),
199+
file
200+
)
201+
)
194202

195203
def setup_data():
196204
"""Setup data."""

0 commit comments

Comments
 (0)