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 E028A138A1A for ; Wed, 11 Feb 2015 17:37:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3CDFE0925; Wed, 11 Feb 2015 17:37:54 +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 21AECE0923 for ; Wed, 11 Feb 2015 17:37:54 +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 444EE3406B2 for ; Wed, 11 Feb 2015 17:37:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62367118AB for ; Wed, 11 Feb 2015 17:37: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: <1422675828.1f30ab54e6fbd83aa329173ee01117d526f842ea.dolsen@gentoo> Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys-ldap/gkeyldap/ X-VCS-Repository: proj/gentoo-keys X-VCS-Files: gkeys-ldap/gkeyldap/__init__.py gkeys-ldap/gkeyldap/cli.py X-VCS-Directories: gkeys-ldap/gkeyldap/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 1f30ab54e6fbd83aa329173ee01117d526f842ea X-VCS-Branch: master Date: Wed, 11 Feb 2015 17:37: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: a53831b0-1d2d-4e83-87ac-da56571af6da X-Archives-Hash: 31d36af3a211171cb8d9d7adef037a04 commit: 1f30ab54e6fbd83aa329173ee01117d526f842ea Author: Brian Dolbec gentoo org> AuthorDate: Wed Jan 14 06:20:32 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sat Jan 31 03:43:48 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=1f30ab54 gkeys-ldap: Add version info in cli.py, update version --- gkeys-ldap/gkeyldap/__init__.py | 2 +- gkeys-ldap/gkeyldap/cli.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gkeys-ldap/gkeyldap/__init__.py b/gkeys-ldap/gkeyldap/__init__.py index 9789d69..afc133e 100644 --- a/gkeys-ldap/gkeyldap/__init__.py +++ b/gkeys-ldap/gkeyldap/__init__.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -__version__ = 'Git' +__version__ = '0.1' __license__ = 'GPLv2' diff --git a/gkeys-ldap/gkeyldap/cli.py b/gkeys-ldap/gkeyldap/cli.py index 68e99fa..b134ed9 100644 --- a/gkeys-ldap/gkeyldap/cli.py +++ b/gkeys-ldap/gkeyldap/cli.py @@ -7,6 +7,7 @@ import os import sys +from gkeys import __version__ from gkeys.base import CliBase from gkeys.config import GKeysConfig from gkeyldap.actions import (Actions, Available_Actions, Action_Map) @@ -36,6 +37,7 @@ class Main(CliBase): 'description': 'Gentoo-keys LDAP interface and seed file generator program', 'epilog': '''CAUTION: adding UNTRUSTED keys can be HAZARDOUS to your system!''' } + self.version = __version__ def __call__(self, args=None):