Commit 28adddc0 authored by Taylor Hanayik's avatar Taylor Hanayik
Browse files

make function private

parent 92368b12
......@@ -52,7 +52,7 @@ def _getURL(url=None):
latestURL = _getLatestURL(url)
return latestURL
def getZenodoFileList(zdict):
def _getZenodoFileList(zdict):
files = zdict["files"]
return files
......@@ -62,7 +62,7 @@ def getRealDataLocFromZAPI(url=None, timeout=3):
info = requests.get(ZAPI+id, timeout=timeout)
jstr = info.content
jdict = json.loads(jstr)
files = getZenodoFileList(jdict)
files = _getZenodoFileList(jdict)
realLocs = []
for foundFile in files:
fileName = foundFile["links"]["self"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment