File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
branches/snap-stage3/src/etc Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 474b324eda10440d6568ef872a7307d38e7de95b
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: ab0081ae45f959fbf15cc532f8e2f4fa5192c4c5
4
+ refs/heads/snap-stage3: f7509df8f9c63454ce70b5e5519c0e09de96158a
5
5
refs/heads/try: fde4472848b662a4d1236388c4cf15e2450237e6
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change 17
17
# it sugarises all .rs/.rc files underneath the working directory
18
18
#
19
19
20
- import sys , os , fnmatch , re
20
+ import sys
21
+ import os
22
+ import fnmatch
23
+ import re
21
24
22
25
23
26
DOC_PATTERN = '^(?P<indent>[\\ t ]*)#\\ [(\\ s*)doc(\\ s*)=' + \
@@ -85,7 +88,6 @@ def sugarise_file(path):
85
88
if s != ns :
86
89
open (path , 'w' ).write (ns )
87
90
88
-
89
91
for (dirpath , dirnames , filenames ) in os .walk ('.' ):
90
92
for name in fnmatch .filter (filenames , '*.r[sc]' ):
91
93
sugarise_file (os .path .join (dirpath , name ))
You can’t perform that action at this time.
0 commit comments