1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

build: move the import near the place where need it, so that we can build on hosts with python's zlib

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Dec 12 22:54:19 CET 2010 on sn-devel-104
This commit is contained in:
Matthieu Patou 2010-12-12 23:57:37 +03:00 committed by Matthieu Patou
parent 4c373d2013
commit 35206df51a

View File

@ -1,7 +1,7 @@
# customised version of 'waf dist' for Samba tools
# uses git ls-files to get file lists
import Utils, os, sys, tarfile, gzip, stat, Scripting, Logs, Options
import Utils, os, sys, tarfile, stat, Scripting, Logs, Options
from samba_utils import *
dist_dirs = None
@ -160,6 +160,7 @@ def dist(appname='',version=''):
tar.close()
if Options.options.SIGN_RELEASE:
import gzip
try:
os.unlink(dist_name + '.asc')
except OSError: