decode Unicode arguments to import -L (GC-457)

This commit is contained in:
Adrian Sampson 2012-11-06 14:29:58 -08:00
parent ffe5d37d78
commit 859268f707
2 changed files with 2 additions and 1 deletions

View file

@ -795,7 +795,7 @@ def import_func(lib, config, opts, args):
quiet_fallback = importer.action.SKIP
if opts.library:
query = args
query = decargs(args)
paths = []
else:
query = None

View file

@ -69,6 +69,7 @@ Changelog
* Fix a crash when input is read from a pipe without a specified encoding.
* Fix some problem with identifying files on Windows with Unicode directory
names in their path.
* Fix a crash when Unicode queries were used with ``import -L`` re-imports.
* Add human-readable error messages when writing files' tags fails or when a
directory can't be created.
* Changed plugin loading so that modules can be imported without