diff options
author | Tobias Brox <tobias@redpill-linpro.com> | 2022-05-08 18:41:54 +0200 |
---|---|---|
committer | cos <cos> | 2022-05-08 22:45:31 +0200 |
commit | 051d2c5a16bf4ce92fd0962d3aff877e99c06124 (patch) | |
tree | 30d7c755821668caa9fc699e339b9210e2152eec | |
parent | a809c3420f30ceb8e7d8314bbed4425a9f0eda86 (diff) | |
download | python-caldav-backport/python_36-support.zip |
Trying to maintain compatibility with elder python versions. Changing a new-style f'string' with 'string' % (var1, var2)backport/python_36-support
-rw-r--r-- | caldav/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caldav/objects.py b/caldav/objects.py index 707c476..02a6ae2 100644 --- a/caldav/objects.py +++ b/caldav/objects.py @@ -966,7 +966,7 @@ class Calendar(DAVObject): except error.NotFoundError: raise except Exception as err: - raise NotImplementedError(f"Server said {str(err)}. The object_by_uid is not compatible with some server implementations. work in progress.") + raise NotImplementedError("Server said %s. The object_by_uid is not compatible with some server implementations. work in progress." % {str(err)}) # Ref Lucas Verney, we've actually done a substring search, if the # uid given in the query is short (i.e. just "0") we're likely to |