forked from spyder-ide/spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
findinfiles: Ignore exclude regexp if it's empty
If the exclude regexp is empty, don't try to compile it. Change SearchThread so an empty string will make no file be excluded from the search. This fixes issue spyder-ide#7811 when exclude_re is true. Signed-off-by: Eduardo Habkost <ehabkost@raisama.net>
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters