Read the CEF branch from the specified path.
(path)
| 361 | |
| 362 | |
| 363 | def read_branch_config_file(path): |
| 364 | """ Read the CEF branch from the specified path. """ |
| 365 | config_file = os.path.join(path, 'cef.branch') |
| 366 | if os.path.isfile(config_file): |
| 367 | contents = read_config_file(config_file) |
| 368 | if 'branch' in contents: |
| 369 | return contents['branch'] |
| 370 | return '' |
| 371 | |
| 372 | |
| 373 | def write_branch_config_file(path, branch): |
no test coverage detected