We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53187f5 + cc5433b commit c25c00fCopy full SHA for c25c00f
tools/github.py
@@ -42,7 +42,12 @@ def create_hash_map():
42
"""
43
44
hashmap = {}
45
+ from base64 import encodestring as base64
46
+ import pwd
47
+ login_name = pwd.getpwuid(os.geteuid())[0]
48
conn = httplib.HTTPSConnection("api.github.com")
49
+ conn.request("GET", "/repos/nipy/nipype",
50
+ headers={'Authorization': 'Basic %s' % base64(login_name)})
51
try:
52
conn.request("GET", "/repos/nipy/nipype/git/trees/master?recursive=1")
53
except:
0 commit comments