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 635441384C0 for ; Sat, 29 Aug 2015 14:41:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA863E0867; Sat, 29 Aug 2015 14:41:53 +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 823DAE0867 for ; Sat, 29 Aug 2015 14:41:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B505A340A23 for ; Sat, 29 Aug 2015 14:41:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93544169 for ; Sat, 29 Aug 2015 14:41:50 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1440859162.a1cb9a08ad98a046e1bedc8f3418894691923174.dolsen@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/version.py X-VCS-Directories: catalyst/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: a1cb9a08ad98a046e1bedc8f3418894691923174 X-VCS-Branch: master Date: Sat, 29 Aug 2015 14:41:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c7c1f51a-14b3-409d-b741-3373b7c592f9 X-Archives-Hash: b3d5486bfe1eddbd2afad8176e341151 commit: a1cb9a08ad98a046e1bedc8f3418894691923174 Author: Brian Dolbec gentoo org> AuthorDate: Sat Aug 29 14:39:10 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sat Aug 29 14:39:22 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a1cb9a08 Adjust for the snakeoil api change catalyst/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalyst/version.py b/catalyst/version.py index 8060bff..8c0b267 100644 --- a/catalyst/version.py +++ b/catalyst/version.py @@ -10,7 +10,7 @@ import os -from snakeoil.version import format_version +from snakeoil.version import get_version as get_ver __version__="rewrite-git" _ver = None @@ -19,7 +19,7 @@ _ver = None def get_git_version(version=__version__): """Return: a string describing our version.""" global _ver - _ver = format_version('catalyst',__file__, version) + _ver = get_ver('catalyst-%s' % version, __file__) return _ver