Merge pull request #46 from adrien-candiotti/master

Update utils.py - the tar function in utils is a non member function but...
This commit is contained in:
Joffrey F 2013-09-23 08:53:07 -07:00
commit 1c161a4ab1
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def mkbuildcontext(dockerfile):
return f
def tar(self, path):
def tar(path):
f = tempfile.TemporaryFile()
t = tarfile.open(mode='w', fileobj=f)
t.add(path, arcname='.')