Skip to content

Commit

Permalink
- formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jan 31, 2023
1 parent 50ef972 commit 66a8788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Products/ZODBMountPoint/MountedObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def _getOrOpenObject(self, parent):
return data.__of__(parent)

def __repr__(self):
return '{}(id={})'.format(self.__class__.__name__, repr(self.id))
return f'{self.__class__.__name__}(id={self.id!r})'


InitializeClass(MountedObject)
Expand Down Expand Up @@ -327,7 +327,7 @@ def manage_getMountStatus(dispatcher):
# Oops, didn't actually mount!
exists = 1
t, v = o._v_connect_error[:2]
status = '{}: {}'.format(t, v)
status = f'{t}: {v}'
else:
exists = 1
mp = getMountPoint(o)
Expand Down

0 comments on commit 66a8788

Please sign in to comment.