diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2015-01-13 22:20:32 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2015-01-30 19:43:48 -0800 |
commit | 1f30ab54e6fbd83aa329173ee01117d526f842ea (patch) | |
tree | 64c9ac9af1098812c60804717bb538bc099543e1 /gkeys-ldap | |
parent | gkeys-ldap: Update update-seeds.sh and config for new gkey-seeds repo (diff) | |
download | gentoo-keys-1f30ab54e6fbd83aa329173ee01117d526f842ea.tar.gz gentoo-keys-1f30ab54e6fbd83aa329173ee01117d526f842ea.tar.bz2 gentoo-keys-1f30ab54e6fbd83aa329173ee01117d526f842ea.zip |
gkeys-ldap: Add version info in cli.py, update version
Diffstat (limited to 'gkeys-ldap')
-rw-r--r-- | gkeys-ldap/gkeyldap/__init__.py | 2 | ||||
-rw-r--r-- | gkeys-ldap/gkeyldap/cli.py | 2 |
2 files changed, 3 insertions, 1 deletions
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): |