lineage: s/master/main/
Change-Id: Ia922dd6b396627fea2c8e69f8a7d6bf025b80f7e
This commit is contained in:
parent
52d05dfff1
commit
6b8c2baf9f
2 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ if __name__ == '__main__':
|
|||
if not args.quiet:
|
||||
print('')
|
||||
|
||||
# Get the master manifest from repo
|
||||
# Get the main manifest from repo
|
||||
# - convert project name and revision to a path
|
||||
project_name_to_data = {}
|
||||
manifest = subprocess.check_output(['repo', 'manifest'])
|
||||
|
|
|
@ -73,7 +73,7 @@ def add_auth(githubreq):
|
|||
githubreq.add_header("Authorization","Basic %s" % githubauth)
|
||||
|
||||
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:
|
||||
result = ElementTree.fromstring(urllib.request.urlopen(githubreq).read().decode())
|
||||
except urllib.error.URLError:
|
||||
|
|
Loading…
Reference in a new issue