We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e56b6 commit 5435640Copy full SHA for 5435640
pyimport.el
@@ -141,7 +141,7 @@ Dumb: just scans open Python buffers."
141
(line (pyimport--import-simplify example-line symbol)))
142
(pyimport--insert-import line)
143
(message "%s (from %s)" line (get-text-property 0 'pyimport-path example-line)))
144
- (user-error "No matches found"))))
+ (user-error "No matches found for %s" symbol))))
145
146
(defun pyimport--extract-unused-var (flycheck-message)
147
"Extract the import variable name from FLYCHECK-MESSAGE.
0 commit comments