File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ def _dom2ideal(node):
153153 name = self .__genpath + name + ".xml"
154154 open (name )
155155 except OSError :
156- raise AttributeError ("No ideal matching '%s ' found in database." % orig_name )
156+ raise AttributeError (f"no ideal matching '{ orig_name } ' found in database" )
157157
158158 dom = parse (name )
159159 res = _dom2ideal (dom )
@@ -184,7 +184,7 @@ def __getattr__(self, name):
184184 sage: sd.Cyclic5 # optional - database_symbolic_data
185185 Traceback (most recent call last):
186186 ...
187- AttributeError: No ideal matching 'Cyclic5' found in database.
187+ AttributeError: no ideal matching 'Cyclic5' found in database.. .
188188
189189 sage: sd.Cyclic_5 # optional - database_symbolic_data
190190 Ideal (v + w + x + y + z,
You can’t perform that action at this time.
0 commit comments