]> kaliko git repositories - mpd-sima.git/blobdiff - sima/lib/meta.py
Mainly use literal for list/dict and f-strings when possible
[mpd-sima.git] / sima / lib / meta.py
index af3e19c14e781622480de208954d1952f745ac08..ac5948ab82e1a5aef1cdf247578ee84dca3e2133 100644 (file)
@@ -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):