mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-14 00:38:54 +08:00
Show path in warning message
This commit is contained in:
1 parent
771fe6bf33
commit
cbe0b91d6a
1 file changed
+1
-1
+1
-1
@@ -187,7 +187,7 @@ def try_to_save_module(hashed_grammar, file_io, module, lines, pickling=True, ca
|
|||||||
# file system. It's still in RAM in that case. However we should
|
# file system. It's still in RAM in that case. However we should
|
||||||
# still warn the user that this is happening.
|
# still warn the user that this is happening.
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
'Tried to save a file to %s, but got permission denied.',
|
'Tried to save a file to %s, but got permission denied.' % path,
|
||||||
Warning
|
Warning
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user