Skip to content

Commit 74cb750

Browse files
committed
Small insignificant adjustments
1 parent 7cd5184 commit 74cb750

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

wls_rest_python.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@
1818
class WLSException(Exception):
1919
"""Superclass for exceptions thrown by this module"""
2020

21-
pass
22-
2321

2422
class BadRequestException(WLSException):
2523
"""
2624
A REST method returns 400 (BAD REQUEST) if the request failed because
2725
something is wrong in the specified request, for example, invalid argument values.
2826
"""
2927

30-
pass
31-
3228

3329
class UnauthorizedException(WLSException):
3430
"""
@@ -37,26 +33,20 @@ class UnauthorizedException(WLSException):
3733
credentials (for example, a bad password).
3834
"""
3935

40-
pass
41-
4236

4337
class ForbiddenException(WLSException):
4438
"""
4539
A REST method returns 403 (FORBIDDEN) if the user is not in the ADMIN,
4640
OPERATOR, DEPLOYER or MONITOR role.
4741
"""
4842

49-
pass
50-
5143

5244
class NotFoundException(WLSException):
5345
"""
5446
A REST method returns 404 (NOT FOUND) if the requested URL does not refer to an
5547
existing entity.
5648
"""
5749

58-
pass
59-
6050

6151
class MethodNotAllowedException(WLSException):
6252
"""
@@ -66,8 +56,6 @@ class MethodNotAllowedException(WLSException):
6656
configuration editing).
6757
"""
6858

69-
pass
70-
7159

7260
class NotAcceptableException(WLSException):
7361
"""
@@ -77,8 +65,6 @@ class NotAcceptableException(WLSException):
7765
JSON.
7866
"""
7967

80-
pass
81-
8268

8369
class ServerErrorException(WLSException):
8470
"""
@@ -90,17 +76,13 @@ class ServerErrorException(WLSException):
9076
server log.
9177
"""
9278

93-
pass
94-
9579

9680
class ServiceUnavailableException(WLSException):
9781
"""
9882
The server is currently unable to handle the request due to temporary overloading or
9983
maintenance of the server. The WLS REST web application is not currently running.
10084
"""
10185

102-
pass
103-
10486

10587
class WLS(object):
10688
"""
@@ -110,7 +92,7 @@ class WLS(object):
11092
:param string username: Username used to authenticate against the server
11193
:param string password: Password used to authenticate against the server
11294
:param string version: Version of the rest interface to use. Defaults to "latest"
113-
:param bool verify_ssl: Whether to verify certificates on SSL connections.
95+
:param bool verify: Whether to verify certificates on SSL connections.
11496
:param float timeout: The timeout value to use, in seconds. Default is 305.
11597
"""
11698

0 commit comments

Comments
 (0)