From: Guan Junchun Date: Tue, 22 May 2012 02:39:51 +0000 (+0800) Subject: fix gbs import use undefined variable issue X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34941fd4ef95889b210fb017e0e0b71acf0d0bbc;p=tools%2Fgbs.git fix gbs import use undefined variable issue --- diff --git a/gitbuildsys/cmd_import.py b/gitbuildsys/cmd_import.py index b74677b..5623cac 100644 --- a/gitbuildsys/cmd_import.py +++ b/gitbuildsys/cmd_import.py @@ -37,7 +37,7 @@ def do(opts, args): if len(args) > 1: msger.error('too many arguments! Please reference gbs import --help.') if not os.path.exists(args[0]): - msger.error('%s not exist' % specfile) + msger.error('%s not exist' % args[0]) params = ["argv[0] placeholder", "--packaging-dir=packaging", "--upstream-branch=%s" % opts.upstream_branch, args[0]]