Fix line-spacing for build

Signed-off-by: Michael Sander <michael.sander@docketalarm.com>
This commit is contained in:
Michael Sander 2016-02-09 05:29:39 -05:00 committed by Joffrey F
parent b6d9af59cb
commit 9dbccce5b6
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ class BuildApiMixin(object):
if os.path.exists(dockerignore):
with open(dockerignore, 'r') as f:
exclude = list(filter(bool, f.read().splitlines()))
context = utils.tar(path, exclude=exclude, dockerfile=dockerfile, gzip=True)
context = utils.tar(path, exclude=exclude, dockerfile=dockerfile,
gzip=True)
encoding = 'gizp'
if utils.compare_version('1.8', self._version) >= 0: