commit:     586a89a52c6ff564016780718fc07518dcea05fc
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 15 23:59:46 2014 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Fri Aug 15 23:59:46 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=586a89a5

api.py: Modifies supported_types() module checking

---
 layman/api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layman/api.py b/layman/api.py
index b3f33f6..bb63d8d 100755
--- a/layman/api.py
+++ b/layman/api.py
@@ -626,7 +626,7 @@ class LaymanAPI(object):
         with boolean values"""
         here = os.path.dirname(os.path.realpath(__file__))
         modpath = os.path.join('overlays', 'modules')
-        modules = os.path.listdir(os.path.join(here, modpath))
+        modules = os.listdir(os.path.join(here, modpath))
 
         cmds = [x for x in self.config.keys() if '_command' in x]
         supported = {}

Reply via email to