Show More
@@ -663,7 +663,7 b' def sources(f, modname):' | |||||
663 | the input file. |
|
663 | the input file. | |
664 | """ |
|
664 | """ | |
665 | py = False |
|
665 | py = False | |
666 |
if f.endswith('. |
|
666 | if not f.endswith('.t'): | |
667 | with open(f) as src: |
|
667 | with open(f) as src: | |
668 | yield src.read(), modname, f, 0 |
|
668 | yield src.read(), modname, f, 0 | |
669 | py = True |
|
669 | py = True |
@@ -156,12 +156,13 b' these may expose other cycles.' | |||||
156 | Known-bad files are excluded by -X as some of them would produce unstable |
|
156 | Known-bad files are excluded by -X as some of them would produce unstable | |
157 | outputs, which should be fixed later. |
|
157 | outputs, which should be fixed later. | |
158 |
|
158 | |||
159 | $ hg locate '**.py' \ |
|
159 | $ hg locate 'set:**.py or grep(r"^#!.*?python")' \ | |
160 | > 'tests/**.t' \ |
|
160 | > 'tests/**.t' \ | |
161 | > -X contrib/debugshell.py \ |
|
161 | > -X contrib/debugshell.py \ | |
162 | > -X contrib/win32/hgwebdir_wsgi.py \ |
|
162 | > -X contrib/win32/hgwebdir_wsgi.py \ | |
163 | > -X doc/gendoc.py \ |
|
163 | > -X doc/gendoc.py \ | |
164 | > -X doc/hgmanpage.py \ |
|
164 | > -X doc/hgmanpage.py \ | |
|
165 | > -X i18n/posplit \ | |||
165 | > -X tests/test-hgweb-auth.py \ |
|
166 | > -X tests/test-hgweb-auth.py \ | |
166 | > -X tests/hypothesishelpers.py \ |
|
167 | > -X tests/hypothesishelpers.py \ | |
167 | > -X tests/test-ctxmanager.py \ |
|
168 | > -X tests/test-ctxmanager.py \ |
General Comments 0
You need to be logged in to leave comments.
Login now