From: Ed Bartosh Date: Thu, 26 Jul 2012 08:39:17 +0000 (+0300) Subject: Fixed call of Temp -> utils.Temp X-Git-Tag: 0.9~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fd6d52de76a45d6cf4203bd04385542f9754a41;p=tools%2Fgbs.git Fixed call of Temp -> utils.Temp Change-Id: Iacc7b1b760011f2197f5a7c7dbf9572dffa305c5 --- diff --git a/gitbuildsys/cmd_export.py b/gitbuildsys/cmd_export.py index b5c1172..d14816b 100644 --- a/gitbuildsys/cmd_export.py +++ b/gitbuildsys/cmd_export.py @@ -22,7 +22,6 @@ import os import shutil import errno -import tempfile import msger import utils @@ -108,7 +107,7 @@ def do(opts, args): # Only guess spec filename here, parse later when we have the correct # spec file at hand specfile = utils.guess_spec(workdir, opts.spec) - tempd = Temp(prefix='gbs_export_', dirn=outdir, directory=True) + tempd = utils.Temp(prefix='gbs_export_', dirn=outdir, directory=True) export_dir = tempd.path with utils.Workdir(workdir): if opts.commit: diff --git a/gitbuildsys/cmd_remotebuild.py b/gitbuildsys/cmd_remotebuild.py index dd14d7a..3ae024d 100644 --- a/gitbuildsys/cmd_remotebuild.py +++ b/gitbuildsys/cmd_remotebuild.py @@ -155,7 +155,7 @@ def do(opts, args): "passwdx": PASSWDX, } - tmpf = Temp(dirn=tmpdir, prefix='.oscrc', content=oscrc) + tmpf = utils.Temp(dirn=tmpdir, prefix='.oscrc', content=oscrc) oscrcpath = tmpf.path if opts.buildlog: