commit:     b92fd6f487d113adaafaacd151e49988aab7175e
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 13 18:02:19 2014 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Thu Nov 13 18:07:21 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=b92fd6f4

maker.py: Fix missed get_input() move call

The getattr() call was also missing the first paramater 'self' causing an error.

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

diff --git a/layman/maker.py b/layman/maker.py
index fbbe4fd..ef560f1 100644
--- a/layman/maker.py
+++ b/layman/maker.py
@@ -415,7 +415,7 @@ class Interactive(object):
             if component in ('descriptions', 'feeds', 'name', 'owner', 
'sources'):
                 getattr(self, 'get_%(comp)s' % ({'comp': component}))()
             else:
-                self.overlay[component] = getattr('get_input')(msg)
+                self.overlay[component] = get_input(msg)
 
 
     def get_overlay_components(self):

Reply via email to