mirror of https://github.com/docker/docker-py.git
Fixed import style
This commit is contained in:
parent
cd5c8c593a
commit
7e1ce9473e
|
@ -1,10 +1,11 @@
|
|||
from functools import wraps
|
||||
import functools
|
||||
|
||||
from .. import errors
|
||||
|
||||
|
||||
def check_resource(f):
|
||||
|
||||
@wraps(f)
|
||||
@functools.wraps(f)
|
||||
def wrapped(self, resource_id=None, *args, **kwargs):
|
||||
if resource_id is None:
|
||||
if kwargs.get('container'):
|
||||
|
|
Loading…
Reference in New Issue