ref: 4077fa18ebf8f4acbc14613ae5a8821ebed17fe3
parent: bd720394be951e879c4fab3c1203c4fa6dda30c6
author: Paul Brossier <piem@piem.org>
date: Thu Mar 23 11:22:33 EDT 2017
python/lib/aubio/cut.py: remove unused imports
--- a/python/lib/aubio/cut.py
+++ b/python/lib/aubio/cut.py
@@ -132,7 +132,6 @@
help="be quiet")
(options, args) = parser.parse_args()
if not options.source_file:
- import os.path
if len(args) == 1:
options.source_file = args[0]
else:
@@ -148,7 +147,7 @@
samplerate = options.samplerate
source_file = options.source_file
- from aubio import onset, tempo, source, sink
+ from aubio import onset, tempo, source
s = source(source_file, samplerate, hopsize)
if samplerate == 0: samplerate = s.get_samplerate()