Skip to content

Commit be2e60e

Browse files
committed
Fix pep8
1 parent bb8ae54 commit be2e60e

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

src/onelogin/api/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,6 @@ def generate_mfa_token(self, user_id, expires_in=259200, reusable=False):
10871087
self.error = 500
10881088
self.error_description = e.args[0]
10891089

1090-
10911090
# Custom Login Pages
10921091
def create_session_login_token(self, query_params, allowed_origin=''):
10931092
"""

src/onelogin/api/models/mfa_token.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/python
22

3+
34
class MFAToken(object):
45
def __init__(self, data):
56
self.value = data.get('mfa_token', None)

src/onelogin/api/models/onelogin_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ def __init__(self, data):
99
self.connector_id = int(connector_id) if connector_id is not None else None
1010
self.name = data.get('name', '')
1111
self.extension = data.get('extension', None)
12-
self.icon = data.get('icon', '')
12+
self.icon = data.get('icon', '')
1313
self.visible = data.get('visible', None)
1414
self.provisioning = data.get('provisioning', None)

src/onelogin/api/models/privilege.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from onelogin.api.models.statement import Statement
44
from onelogin.api.util.constants import Constants
55

6+
67
class Privilege(object):
78
def __init__(self, *args, **kwargs):
89
if len(args) == 1:

src/onelogin/api/util/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Constants(object):
6565
# Custom Login URLs
6666
SESSION_LOGIN_TOKEN_URL = "https://api.%s.onelogin.com/api/1/login/auth"
6767
GET_TOKEN_VERIFY_FACTOR = "https://api.%s.onelogin.com/api/1/login/verify_factor"
68-
68+
6969
# SAML Assertion URLs
7070
GET_SAML_ASSERTION_URL = "https://api.%s.onelogin.com/api/1/saml_assertion"
7171
GET_SAML_VERIFY_FACTOR = "https://api.%s.onelogin.com/api/1/saml_assertion/verify_factor"

0 commit comments

Comments
 (0)