Skip to content

Commit 0796f6d

Browse files
committed
More persnickety.
1 parent 7ff68c8 commit 0796f6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

which-branch/which_branch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212

1313
import contextlib
1414
import re
15-
import sys
1615
import subprocess
16+
import sys
1717

1818
import github
1919

2020

2121
class Error(Exception):
2222
pass
2323

24+
2425
def branches_for(token, commit, repo=None):
2526
"""
2627
Use the GitHub REST API to discover which branch(es) correspond to the

0 commit comments

Comments
 (0)