From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 479C113888F for ; Tue, 6 Oct 2015 15:06:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB6E821C056; Tue, 6 Oct 2015 15:05:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90FAB21C055 for ; Tue, 6 Oct 2015 15:05:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A9046340AE0 for ; Tue, 6 Oct 2015 15:05:37 +0000 (UTC) From: Mike Frysinger To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 11/13] version: use the passed in value Date: Tue, 6 Oct 2015 11:05:27 -0400 Message-Id: <1444143929-26705-11-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.5.2 In-Reply-To: <1444143929-26705-1-git-send-email-vapier@gentoo.org> References: <1444143929-26705-1-git-send-email-vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: bf551994-95e3-49ae-98ef-595732e32949 X-Archives-Hash: e377d875a231048548717cb781df9ef0 The get_git_version function takes a |version| argument, but doesn't actually use it, which makes calls to the function with a version do nothing. Tweak the function to use the arg in the way it looks like it intended. --- catalyst/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/version.py b/catalyst/version.py index 5deb4d7..3b82988 100644 --- a/catalyst/version.py +++ b/catalyst/version.py @@ -31,7 +31,7 @@ def get_git_version(version=__version__): s = ('vcs version %s, date %s' % (version_info['rev'], version_info['date'])) - _ver = 'Catalyst %s\n%s' % (__version__, s) + _ver = 'Catalyst %s\n%s' % (version, s) return _ver -- 2.5.2