Skip to content

Commit

Permalink
Remove unused imports from omxplayer/player.py
Browse files Browse the repository at this point in the history
  • Loading branch information
willprice committed Nov 10, 2018
1 parent b7b294c commit d2ecc8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.3.1 -> 0.3.2
* Remove unused imports (`mock`) causing errors (#157)

# 0.3.0 -> 0.3.1
* Remove `tests` package from distribution
* Support calling `quit` multiple times without raising exception
Expand Down
2 changes: 1 addition & 1 deletion omxplayer/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
__description__ = 'A library for controlling omxplayer on the Raspberry Pi'
__author__ = 'Will Price'
__author_email__ = 'will.price94+dev@gmail.com'
__version__ = '0.3.1'
__version__ = '0.3.2'
__license__ = 'LGPLv3+'
__copyright__ = 'Copyright 2018 Will Price'
8 changes: 0 additions & 8 deletions omxplayer/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,12 @@
import atexit
import sys

from mock import Mock

try: # python 3
from pathlib import Path
except ImportError: # python2
from pathlib2 import Path

try: # python2
from urlparse import urlsplit
except ImportError: # python3
from urllib.parse import urlsplit

if sys.version_info > (3,):
long = int

from decorator import decorator
from dbus import DBusException, Int64, String, ObjectPath
Expand Down

0 comments on commit d2ecc8e

Please sign in to comment.