Skip to content

Commit 428f82c

Browse files
committed
Remove unused upload code
1 parent 08103b0 commit 428f82c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

getBitstreams.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ def main():
9696
header = {'content-type': 'application/json', 'accept': 'application/json'}
9797
session = requests.post(baseURL+'/rest/login', headers=header, verify=verify, params=data, timeout=response_timeout).cookies['JSESSIONID']
9898
cookies = {'JSESSIONID': session}
99-
headerFileUpload = {'accept': 'application/json'}
100-
cookiesFileUpload = cookies
10199
status = requests.get(baseURL+'/rest/status', headers=header, cookies=cookies, verify=verify, timeout=response_timeout).json()
102-
userFullName = status['fullname']
103100
print 'authenticated'
104101

105102
# NOTE: expanding bitstreams to get the count, in case this is an item

0 commit comments

Comments
 (0)