Permalink
Browse files

Bug 578720 - [Python] Add pyw as a valid extension

Added pyw as extension, based also on: https://docs.python.org/2/tutorial/appendix.html (15.1.2. Executable Python Scripts)
  • Loading branch information...
albert-github committed Dec 26, 2015
1 parent 165498d commit 5924acd279f82d8db7ddb33a6ec67937084d7c31
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/config.xml
  2. +1 −0 src/util.cpp
@@ -1325,6 +1325,7 @@ FILE_VERSION_INFO = "cleartool desc -fmt \%Vn"
<value name='*.mm'/>
<value name='*.dox'/>
<value name='*.py'/>
<value name='*.pyw'/>
<value name='*.f90'/>
<value name='*.f'/>
<value name='*.for'/>
@@ -7040,6 +7040,7 @@ void initDefaultExtensionMapping()
updateLanguageMapping(".M", "objective-c");
updateLanguageMapping(".mm", "objective-c");
updateLanguageMapping(".py", "python");
updateLanguageMapping(".pyw", "python");
updateLanguageMapping(".f", "fortran");
updateLanguageMapping(".for", "fortran");
updateLanguageMapping(".f90", "fortran");

0 comments on commit 5924acd

Please sign in to comment.