pat1 / autoradio

radio automation software
GNU General Public License v2.0
23 stars 8 forks source link

drop extraneous imports of part of stdlib #33

Closed a-detiste closed 9 months ago

pat1 commented 9 months ago

Thanks for your contributions!

a-detiste commented 9 months ago

Can you please remove the need for old_div and remove dependency on future altohether & release ? (python3-future is being removed from Debian)

autoradio/managexmms.py:from past.utils import old_div autoradio/autompris2.py:from past.utils import old_div autoradio/dir2ogg.py:from past.utils import old_div autoradio/mkplaylist.py:from past.builtins import cmp autoradio/managempris.py:from past.utils import old_div autoradio/autoplayer/playlist.py:from past.utils import old_div autoradio/autoplayer/player.py:from past.utils import old_div autoradio/autoplayer/player_gstreamer0.py:from past.utils import old_div autoradio/manageaudacious.py:from past.utils import old_div autoradio/autoradio_core.py:from past.utils import old_div autoplayergui:from past.utils import old_div

pat1 commented 8 months ago

old_div and cmp removed in aed8f9d

a-detiste commented 8 months ago

__cmp__ is not used at all in Python3