diff options
Diffstat (limited to 'gitlab/__init__.py')
-rw-r--r-- | gitlab/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 6afccf2..99ff5c5 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -411,7 +411,7 @@ class Gitlab(object): if item.status_code not in (301, 302): continue # GET methods can be redirected without issue - if result.request.method == 'GET': + if item.request.method == 'GET': continue # Did we end-up with an https:// URL? location = item.headers.get('Location', None) |