lineage: s/master/main/
Change-Id: Ia922dd6b396627fea2c8e69f8a7d6bf025b80f7e
This commit is contained in:
@@ -246,7 +246,7 @@ if __name__ == '__main__':
|
|||||||
if not args.quiet:
|
if not args.quiet:
|
||||||
print('')
|
print('')
|
||||||
|
|
||||||
# Get the master manifest from repo
|
# Get the main manifest from repo
|
||||||
# - convert project name and revision to a path
|
# - convert project name and revision to a path
|
||||||
project_name_to_data = {}
|
project_name_to_data = {}
|
||||||
manifest = subprocess.check_output(['repo', 'manifest'])
|
manifest = subprocess.check_output(['repo', 'manifest'])
|
||||||
|
@@ -73,7 +73,7 @@ def add_auth(githubreq):
|
|||||||
githubreq.add_header("Authorization","Basic %s" % githubauth)
|
githubreq.add_header("Authorization","Basic %s" % githubauth)
|
||||||
|
|
||||||
if not depsonly:
|
if not depsonly:
|
||||||
githubreq = urllib.request.Request("https://raw.githubusercontent.com/LineageOS/mirror/master/default.xml")
|
githubreq = urllib.request.Request("https://raw.githubusercontent.com/LineageOS/mirror/main/default.xml")
|
||||||
try:
|
try:
|
||||||
result = ElementTree.fromstring(urllib.request.urlopen(githubreq).read().decode())
|
result = ElementTree.fromstring(urllib.request.urlopen(githubreq).read().decode())
|
||||||
except urllib.error.URLError:
|
except urllib.error.URLError:
|
||||||
|
Reference in New Issue
Block a user