Skip to content

Commit

Permalink
mavgen: cope with python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Apr 25, 2024
1 parent 89e0160 commit bf6aa39
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions generator/mavgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
'''

from __future__ import print_function
from future import standard_library
standard_library.install_aliases()
try:
from future import standard_library
standard_library.install_aliases()
except ModuleNotFoundError:
# expected with python 3.12 and later
pass
from builtins import object
import os
import re
Expand Down

0 comments on commit bf6aa39

Please sign in to comment.