Skip to content

Commit 43ff2af

Browse files
committed
Formatting
1 parent 749d4d5 commit 43ff2af

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

update_osn_links.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
query = '?q=metadata.additional_descriptions.description:"renc.osn.xsede.org"&allversions=true'
88

99
headers = {
10-
"Authorization": "Bearer %s" % token,
11-
"Content-type": "application/json",
10+
"Authorization": "Bearer %s" % token,
11+
"Content-type": "application/json",
1212
}
1313

1414
url = url + query
@@ -24,8 +24,7 @@
2424
metadata = get_metadata(idv, token=token, validate=False)
2525
for desc in metadata["descriptions"]:
2626
desc["description"] = desc["description"].replace(
27-
"renc.osn.xsede.org",
28-
"sdsc.osn.xsede.org",
29-
)
30-
caltechdata_edit(idv, metadata, token=token, production=True,
31-
publish=True)
27+
"renc.osn.xsede.org",
28+
"sdsc.osn.xsede.org",
29+
)
30+
caltechdata_edit(idv, metadata, token=token, production=True, publish=True)

0 commit comments

Comments
 (0)