commit:     8279886d04bb1469753144c1d204fd1ae20f528f
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 19:05:30 2015 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 19:05:30 2015 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=8279886d

overlay.py: Fixes any other mistakes made in haste

 layman/overlays/overlay.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py
index cf99499..82e2f9f 100755
--- a/layman/overlays/overlay.py
+++ b/layman/overlays/overlay.py
@@ -316,7 +316,7 @@ class Overlay(object):
             elif ignore == 1:
                 self.output.warn(msg, 4)
 
-         if 'description' in overlay:
+        if 'description' in overlay:
             self.descriptions = []
             _descs = overlay['description']
             for d in _descs:
@@ -602,7 +602,10 @@ class Overlay(object):
 
     def source_types(self):
         for i in self.sources:
-            yield i.type    def is_official(self):
+            yield i.type
+
+
+    def is_official(self):
         '''
         Is the overlay official?
         '''

Reply via email to