Skip to content

Commit 5d46f33

Browse files
committed
no blank line before function docstring
1 parent c6e01f4 commit 5d46f33

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

phpypam/core/api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def _query(self, path='user', headers=None, method=GET, data=None, params=None,
121121
return result['data']
122122

123123
def _login(self):
124-
125124
""" Login method """
126125
_auth = HTTPBasicAuth(self._api_username, self._api_password)
127126
resp = self._query(method=POST, auth=_auth)

phpypam/core/exceptions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class PHPyPAMInvalidCredentials(Exception):
4949
This Exception is raised if there are any issues with the authentication against phpIPAM api.
5050
"""
5151
def __init__(self, *args, **kwargs):
52-
5352
""" constructor method """
5453
super(PHPyPAMInvalidCredentials, self).__init__(*args, **kwargs)
5554

@@ -60,7 +59,6 @@ class PHPyPAMEntityNotFoundException(Exception):
6059
This Exception is raised if an entity was not found.
6160
"""
6261
def __init__(self, *args, **kwargs):
63-
6462
""" constructor method """
6563
super(PHPyPAMEntityNotFoundException, self).__init__(*args, **kwargs)
6664

@@ -71,7 +69,6 @@ class PHPyPAMInvalidSyntax(Exception):
7169
This Exception is raised if there are any issues with syntax of request against phpIPAM api.
7270
"""
7371
def __init__(self, *args, **kwargs):
74-
7572
""" constructor method """
7673
self._message = kwargs.pop('message', '')
7774

0 commit comments

Comments
 (0)