Skip to content

Commit 43e7c9b

Browse files
author
falldog
committed
rv:[25]
[What] Skip .svn when parse the XRC translate string [Why] There is a exception when pywxrc.py parse the filelist on .svn [How] Skip .svn
1 parent 41f2329 commit 43e7c9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Build/build_util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def _GenerateXRCTranslateString(filename=''):
1818
xrcList = os.listdir(XRC_Folder)
1919
strFiles = ''
2020
for xrc in xrcList:
21+
if xrc.lower() in ['.svn']: continue
2122
strFiles += ' ' + os.path.join(XRC_Folder, xrc)
2223
os.system('python pywxrc.py -o %s -g %s' % (filename, strFiles))
2324

0 commit comments

Comments
 (0)