X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fmeta.py;fp=sima%2Flib%2Fmeta.py;h=ac5948ab82e1a5aef1cdf247578ee84dca3e2133;hb=a260ebea93f23d72aa6e0178744b0f64c469b7ba;hp=af3e19c14e781622480de208954d1952f745ac08;hpb=e86c25ed9e97c5dd3e0672d5b17bed01d4a23fdf;p=mpd-sima.git diff --git a/sima/lib/meta.py b/sima/lib/meta.py index af3e19c..ac5948a 100644 --- a/sima/lib/meta.py +++ b/sima/lib/meta.py @@ -147,7 +147,7 @@ class Meta: if callable(other.__str__) and other.__str__() != self.name: self.__aliases |= {other.__str__()} else: - raise MetaException('No __str__ method found in {!r}'.format(other)) + raise MetaException(f'No __str__ method found in {other!r}') @property def name(self):