Skip to content

Commit 105699d

Browse files
Use f-strings
Co-authored-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
1 parent 9184963 commit 105699d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

colcon_mixin/mixin/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __getattr__(name):
3737
"get_mixin_repositories_file()' instead", stacklevel=2)
3838
return get_mixin_repositories_file()
3939
raise AttributeError(
40-
"module '%s' has no attribute '%s'" % (__name__, name))
40+
f"module '{__name__}' has no attribute '{name}'")
4141
else:
4242
# for backward compatibility but without a deprecation warning on usage
4343
"""The path of the yaml file describing the mixin repositories."""

0 commit comments

Comments
 (0)