mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +01:00
add missing division future imports
This commit is contained in:
parent
0cfddfaa8a
commit
0f89f17227
16 changed files with 16 additions and 16 deletions
2
beet
2
beet
|
|
@ -15,7 +15,7 @@
|
||||||
# The above copyright notice and this permission notice shall be
|
# The above copyright notice and this permission notice shall be
|
||||||
# included in all copies or substantial portions of the Software.
|
# included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
import beets.ui
|
import beets.ui
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
music and items' embedded album art.
|
music and items' embedded album art.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import platform
|
import platform
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# Copyright 2016 Bruno Cauet
|
# Copyright 2016 Bruno Cauet
|
||||||
# Split an album-file in tracks thanks a cue file
|
# Split an album-file in tracks thanks a cue file
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
from os import path
|
from os import path
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""Filter imported files using a regular expression.
|
"""Filter imported files using a regular expression.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from beets import config
|
from beets import config
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"""Adds support for ipfs. Requires go-ipfs and a running ipfs daemon
|
"""Adds support for ipfs. Requires go-ipfs and a running ipfs daemon
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
from beets import ui, util, library, config
|
from beets import ui, util, library, config
|
||||||
from beets.plugins import BeetsPlugin
|
from beets.plugins import BeetsPlugin
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""Synchronize information from music player libraries
|
"""Synchronize information from music player libraries
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
from abc import abstractmethod, ABCMeta
|
from abc import abstractmethod, ABCMeta
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""Synchronize information from amarok's library via dbus
|
"""Synchronize information from amarok's library via dbus
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
from os.path import basename
|
from os.path import basename
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""Synchronize information from iTunes's library
|
"""Synchronize information from iTunes's library
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
AUTHOR = u'Adrian Sampson'
|
AUTHOR = u'Adrian Sampson'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
from livereload import Server, shell
|
from livereload import Server, shell
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
# Make python -m testall.py work.
|
# Make python -m testall.py work.
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""Tests for the `filefilter` plugin.
|
"""Tests for the `filefilter` plugin.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
# The above copyright notice and this permission notice shall be
|
# The above copyright notice and this permission notice shall be
|
||||||
# included in all copies or substantial portions of the Software.
|
# included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
from mock import patch
|
from mock import patch
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
# The above copyright notice and this permission notice shall be
|
# The above copyright notice and this permission notice shall be
|
||||||
# included in all copies or substantial portions of the Software.
|
# included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""Test module for file ui/commands.py
|
"""Test module for file ui/commands.py
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"""Test module for file ui/__init__.py
|
"""Test module for file ui/__init__.py
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import, print_function
|
from __future__ import division, absolute_import, print_function
|
||||||
|
|
||||||
from test import _common
|
from test import _common
|
||||||
from test._common import unittest
|
from test._common import unittest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue