History

python/lib/aubio/cmd.py: improve error message

Paul Brossier committed 9 years ago

Commit c2902451 parent b37e2b21 file · +1 −1Browse files

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

Unified · Split

python/lib/aubio/cmd.py+1−1
@@ -187,7 +187,7 @@ def timefunc(mode): · 186 unmodified lines
187187 elif mode == 'samples':
188188 return samples2samples
189189 else:
190− raise ValueError('invalid time format %s' % mode)
190+ raise ValueError("invalid time format '%s'" % mode)
191191
192192 # definition of processing classes
193193

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