Fix IPython.utils.warn API so messages are automatically displayed followed by a newline.

This commit is contained in:
Thomas Kluyver 2012-08-14 14:15:30 +01:00
parent e54ce19728
commit b6776682dc

View File

@ -319,7 +319,7 @@ def make_exclude():
continue
fullpath = pjoin(parent, exclusion)
if not os.path.exists(fullpath) and not glob.glob(fullpath + '.*'):
warn("Excluding nonexistent file: %r\n" % exclusion)
warn("Excluding nonexistent file: %r" % exclusion)
return exclusions