commit:     bc820e2c9e37ea3e6f15575dc41ce29870511cf5
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 17 03:07:26 2014 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 03:49:57 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=bc820e2c

sync/__init__.py: Adds description for "new" action

---
 layman/sync/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/layman/sync/__init__.py b/layman/sync/__init__.py
index 303f996..2282f51 100644
--- a/layman/sync/__init__.py
+++ b/layman/sync/__init__.py
@@ -18,7 +18,7 @@ options = {'1': 'Layman', '2': 'PyLayman'}
 config_class = DEFAULT_CLASS
 try:
     test_param = os.environ["TESTIT"]
-    if test_param in options:
+    if str(test_param) in options:
         config_class = options[test_param]
 except KeyError:
     pass
@@ -35,7 +35,7 @@ module_spec = {
             'functions': ['sync', 'new', 'exists'],
             'func_desc': {
                 'sync': 'Performs a layman sync of the specified overlay',
-                'new': 'Currently does nothing',
+                'new': 'Performs a layman add of the specified overlay',
                 'exists': 'Returns a boolean of whether the specified dir ' +
                     'exists and is a valid repository',
             },

Reply via email to