Adding migration api wrapper (#899)

Closes #818
This commit is contained in:
Shubham Singh
2018-12-21 12:01:01 +08:00
committed by Wan Liuyang
parent cd6d56d60a
commit b4d895eddd
21 changed files with 564 additions and 3 deletions
+2 -2
View File
@@ -381,8 +381,8 @@ class Requester:
if Consts.headerRateReset in responseHeaders:
self.rate_limiting_resettime = int(responseHeaders[Consts.headerRateReset])
if "x-oauth-scopes" in responseHeaders:
self.oauth_scopes = responseHeaders["x-oauth-scopes"].split(", ")
if Consts.headerOAuthScopes in responseHeaders:
self.oauth_scopes = responseHeaders[Consts.headerOAuthScopes].split(", ")
self.DEBUG_ON_RESPONSE(status, responseHeaders, output)