-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix paths (and regex for paths) comparison issues (#1592)
* add os.path.normcase for return value of Logger.FindCaller, escape windows path delimiter for regex comparison * escape os path separator for regular expression comparison * use os.path.sep to indicate path separator * use re.escape to escape metacharacters * apply escaping only when the string is used for comparison
- Loading branch information
1 parent
aabed39
commit 08b28eb
Showing
3 changed files
with
4 additions
and
2 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
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
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