Files
beets/beetsplug
Kier Davis eb85ff422b convert plugin: fix braces in filenames causing tracebacks in "pretend" mode
Previously "pretend" mode (a.k.a. dry run mode) passed the command to be
printed directly to _log.info, whose first argument is technically a
format string. Thus the command string was parsed for replacement fields, such
as '{foo}', which could cause the format evaluation to fail if the filenames
contained in the command contained valid (or partially valid) replacement fields.

This fix simply inserts an argument '{0}' to the call to _log.info, which is a
format string that simply evaluates to the second argument to _log.info (the
command string). By doing this, the command string is not parsed for replacement
fields.
2016-12-16 00:21:35 +00:00
..
2016-06-24 05:53:55 -04:00
2016-06-25 19:16:14 -07:00
2016-06-25 19:16:14 -07:00
2016-06-25 18:29:55 -07:00
2016-06-25 19:16:14 -07:00
2016-06-25 19:16:14 -07:00
2016-06-25 19:16:14 -07:00
2016-09-07 21:42:59 -04:00
2016-11-08 16:56:13 -08:00
2016-07-27 14:56:55 -04:00
2016-06-23 04:40:18 -04:00
2016-06-25 19:16:14 -07:00
2016-11-11 16:23:32 +01:00