Skip to content

Commit c7ff38c

Browse files
committed
Last failing Flake8 issue from pep 1.6.x
1 parent 67ca14b commit c7ff38c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github3/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212

1313
def requires_2fa(response):
14-
if (response.status_code == 401 and 'X-GitHub-OTP' in response.headers
15-
and 'required' in response.headers['X-GitHub-OTP']):
14+
if (response.status_code == 401 and 'X-GitHub-OTP' in response.headers and
15+
'required' in response.headers['X-GitHub-OTP']):
1616
return True
1717
return False
1818

0 commit comments

Comments
 (0)