From ac641c213b7f5ded93027b9f9148392fed043738 Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Sun, 11 Feb 2007 23:13:20 +0100 Subject: clarify dir argument --- git-buildpackage | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/git-buildpackage b/git-buildpackage index aeb5d84..4d816bd 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -28,9 +28,9 @@ from gbp.config import GbpOptionParser from gbp.errors import GbpError -def create_orig(cp, dir, branch): - "create an orig.tar.gz" - output = os.path.join(dir, orig_file(cp)) +def create_orig(cp, output_dir, branch): + "create an orig.tar.gz in output_dir" + output = os.path.join(output_dir, orig_file(cp)) pipe = pipes.Template() pipe.prepend('git-archive --format=tar --prefix=%s-%s/ %s' % (cp['Source'], cp['Upstream-Version'], branch), '.-') pipe.append('gzip -c -9', '--') @@ -89,7 +89,7 @@ def main(argv): try: repo = GitRepository('.') except GitRepositoryError: - print >>sys.stderr,"%s is not a git repository" % (os.path.abspath('.')) + print >>sys.stderr, "%s is not a git repository" % (os.path.abspath('.')) return 1 try: -- cgit v1.2.3