MCPcopy Create free account
hub / github.com/ipython/ipython / find_rejects

Function find_rejects

tools/backport_pr.py:48–52  ·  view source on GitHub ↗
(root='.')

Source from the content-addressed store, hash-verified

46)
47
48def find_rejects(root='.'):
49 for dirname, dirs, files in os.walk(root):
50 for fname in files:
51 if fname.endswith('.rej'):
52 yield os.path.join(dirname, fname)
53
54def get_current_branch():
55 branches = check_output(['git', 'branch'])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected