mirror of https://github.com/docker/docker-py.git
Merge d6e2254df5 into 6e6a273573
This commit is contained in:
commit
13f04ed62b
|
|
@ -16,7 +16,7 @@ _TAG = re.compile(
|
||||||
|
|
||||||
|
|
||||||
def match_tag(tag: str) -> bool:
|
def match_tag(tag: str) -> bool:
|
||||||
return bool(_TAG.match(tag))
|
return tag == '' or bool(_TAG.match(tag))
|
||||||
|
|
||||||
|
|
||||||
def tar(path, exclude=None, dockerfile=None, fileobj=None, gzip=False):
|
def tar(path, exclude=None, dockerfile=None, fileobj=None, gzip=False):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue