Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 7c732d3

Browse files
author
Matthias Koeppe
committed
src/sage/rings/number_field/order.py: Incidental pyflakes fix
1 parent 3e420f7 commit 7c732d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/rings/number_field/order.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1786,13 +1786,13 @@ def _assume_maximal(self, is_maximal=True, p=None):
17861786
self.__is_maximal = False
17871787
elif is_maximal:
17881788
if self._is_maximal() is False:
1789-
raise ValueError(f"cannot assume this order to be maximal because we already found it to be a non-maximal order")
1789+
raise ValueError("cannot assume this order to be maximal because we already found it to be a non-maximal order")
17901790
self.__is_maximal = True
17911791
# No need to keep information at specific primes anymore.
17921792
self.__is_maximal_at = {}
17931793
else:
17941794
if self._is_maximal() is True:
1795-
raise ValueError(f"cannot assume this order to be non-maximal because we already found it to be a maximal order")
1795+
raise ValueError("cannot assume this order to be non-maximal because we already found it to be a maximal order")
17961796
self.__is_maximal = False
17971797
else:
17981798
p = ZZ(p).abs()

0 commit comments

Comments
 (0)