Loading tools/roomservice.py +7 −4 Original line number Diff line number Diff line Loading @@ -12,12 +12,15 @@ print "Device %s not found. Attempting to retrieve device repository from Cyanog repositories = [] try: authtuple = netrc.netrc().authenticators("api.github.com") if authtuple: githubauth = base64.encodestring('%s:%s' % (authtuple[0], authtuple[2])).replace('\n', '') else: githubauth = None except: githubauth = None page = 1 while True: Loading Loading
tools/roomservice.py +7 −4 Original line number Diff line number Diff line Loading @@ -12,12 +12,15 @@ print "Device %s not found. Attempting to retrieve device repository from Cyanog repositories = [] try: authtuple = netrc.netrc().authenticators("api.github.com") if authtuple: githubauth = base64.encodestring('%s:%s' % (authtuple[0], authtuple[2])).replace('\n', '') else: githubauth = None except: githubauth = None page = 1 while True: Loading