( s, first, last )
| 59 | |
| 60 | def parse_config_into_btc_config(): |
| 61 | def find_between( s, first, last ): |
| 62 | try: |
| 63 | start = s.index( first ) + len( first ) |
| 64 | end = s.index( last, start ) |
| 65 | return s[start:end] |
| 66 | except ValueError: |
| 67 | return "" |
| 68 | |
| 69 | config_info = [] |
| 70 | with open(os.path.join(SOURCE_DIR,'../configure.ac'), encoding="utf8") as f: |
no test coverage detected