mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-04 22:27:25 +00:00
Fixing linter to work on Windows (ironically, by breaking it).
This commit is contained in:
parent
4b6f1882e7
commit
8a6807bd92
2 changed files with 4 additions and 4 deletions
|
|
@ -1553,7 +1553,7 @@ def GetHeaderGuardCPPVariable(filename):
|
|||
fileinfo = FileInfo(filename)
|
||||
file_path_from_root = fileinfo.RepositoryName()
|
||||
if _root:
|
||||
file_path_from_root = re.sub('^' + _root + os.sep, '', file_path_from_root)
|
||||
file_path_from_root = re.sub('^' + _root + '\/', '', file_path_from_root)
|
||||
return re.sub(r'[-./\s]', '_', file_path_from_root).upper() + '_'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue