diff options
author | Damien George <damien.p.george@gmail.com> | 2015-04-11 13:03:37 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-16 14:30:16 +0000 |
commit | 044c473de203b4dbe93874813b430fb6336db2b2 (patch) | |
tree | f632b62412031458b7a9438fa144ef5a6ebd1f66 /py/builtinimport.c | |
parent | e72cda99fd5fc9e7c6476eb8574c4401d3ef9560 (diff) |
py: Add %q format support to mp_[v]printf, and use it.
Diffstat (limited to 'py/builtinimport.c')
-rw-r--r-- | py/builtinimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtinimport.c b/py/builtinimport.c index d92cff63d..5cab1d59b 100644 --- a/py/builtinimport.c +++ b/py/builtinimport.c @@ -319,7 +319,7 @@ mp_obj_t mp_builtin___import__(mp_uint_t n_args, const mp_obj_t *args) { nlr_raise(mp_obj_new_exception_msg(&mp_type_ImportError, "module not found")); } else { nlr_raise(mp_obj_new_exception_msg_varg(&mp_type_ImportError, - "no module named '%s'", qstr_str(mod_name))); + "no module named '%q'", mod_name)); } } } else { |