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

Commit

Permalink
sage.features.FileFeature.absolute_path: Fixup try...except...else
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Mar 4, 2022
1 parent 6c35717 commit 66d79f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,8 @@ def absolute_path(self):
from sage.misc.superseded import deprecation
except ImportError:
pass
deprecation(31292, 'method absolute_path has been replaced by absolute_filename')
else:
deprecation(31292, 'method absolute_path has been replaced by absolute_filename')
return self.absolute_filename()


Expand Down

0 comments on commit 66d79f8

Please sign in to comment.