File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,16 @@ class ObsoleteException(BaseException):
8
8
9
9
10
10
def obsolete_client (func ):
11
- ''' This is a decorator which can be used to mark Client classes
12
- as obsolete. It will result in an error being emitted
13
- when the class is instantiated.'''
11
+ """ This is a decorator which can be used to mark Client classes as
12
+ obsolete. It will result in an error being emitted when the class is
13
+ instantiated."""
14
14
15
15
@functools .wraps (func )
16
16
def new_func (* args , ** kwargs ):
17
- raise ObsoleteException ("{} has been removed from this version of the library. "
18
- "Please refer to current documentation for guidance."
19
- .format (func .__name__ ))
17
+ raise ObsoleteException (
18
+ "{} has been removed from this version of the library. "
19
+ "Please refer to current documentation for guidance."
20
+ .format (func .__name__ )
21
+ )
20
22
21
23
return new_func
You can’t perform that action at this time.
0 commit comments