History

python/lib/aubio/cut.py: remove unused imports

Paul Brossier committed 9 years ago

Commit 4077fa11 parent bd720391 file · +1 −2Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/aubio/cut.py+1−2
@@ -132,7 +132,6 @@ def parse_args(): · 131 unmodified lines
132 help="be quiet")132 help="be quiet")
133 (options, args) = parser.parse_args()133 (options, args) = parser.parse_args()
134 if not options.source_file:134 if not options.source_file:
135 import os.path
136 if len(args) == 1:135 if len(args) == 1:
137 options.source_file = args[0]136 options.source_file = args[0]
138 else:137 else:
@@ -148,7 +147,7 @@ def main(): · 9 unmodified lines
148 samplerate = options.samplerate147 samplerate = options.samplerate
149 source_file = options.source_file148 source_file = options.source_file
150 149
151 from aubio import onset, tempo, source, sink150 from aubio import onset, tempo, source
152 151
153 s = source(source_file, samplerate, hopsize)152 s = source(source_file, samplerate, hopsize)
154 if samplerate == 0: samplerate = s.get_samplerate()153 if samplerate == 0: samplerate = s.get_samplerate()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t