Show More
@@ -1,5 +1,5 b'' | |||
|
1 | 1 | #!/usr/bin/env python |
|
2 |
|
|
|
2 | """ Checkout gitwash repo into directory and do search replace on name """ | |
|
3 | 3 | |
|
4 | 4 | import os |
|
5 | 5 | from os.path import join as pjoin |
@@ -51,9 +51,9 b' def cp_files(in_path, globs, out_path):' | |||
|
51 | 51 | |
|
52 | 52 | |
|
53 | 53 | def filename_search_replace(sr_pairs, filename, backup=False): |
|
54 |
|
|
|
54 | """ Search and replace for expressions in files | |
|
55 | 55 | |
|
56 | ''' | |
|
56 | """ | |
|
57 | 57 | in_txt = open(filename, 'rt').read(-1) |
|
58 | 58 | out_txt = in_txt[:] |
|
59 | 59 | for in_exp, out_exp in sr_pairs: |
General Comments 0
You need to be logged in to leave comments.
Login now