Author rpluem
Recipients rpluem
Date 2019-10-02.09:15:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570007735.24.0.378926810144.issue38347@roundup.psfhosted.org>
In-reply-to
Content
Tools/scripts/pathfix.py does not find Python scripts that contain a '-' in their filename when working recursively.
This is caused by the regular expression used to detect whether a filename is a Python script:

r'^[a-zA-Z0-9_]+\.py$'

r'^[a-zA-Z0-9_-]+\.py$'

fixes this. I am not sure if you want to allow further characters in script names like spaces or other special characters. The pull request I will create will only fix the '-' issue.
History
Date User Action Args
2019-10-02 09:15:35rpluemsetrecipients: + rpluem
2019-10-02 09:15:35rpluemsetmessageid: <1570007735.24.0.378926810144.issue38347@roundup.psfhosted.org>
2019-10-02 09:15:35rpluemlinkissue38347 messages
2019-10-02 09:15:35rpluemcreate