diff options
author | Devan Franchini <twitch153@gentoo.org> | 2015-07-13 15:05:30 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2015-07-13 15:05:30 -0400 |
commit | 8279886d04bb1469753144c1d204fd1ae20f528f (patch) | |
tree | 5919f0f3877e50815c88fba2097c5cb271a242d7 | |
parent | overlay.py: Corrects else on line 316 (diff) | |
download | layman-8279886d04bb1469753144c1d204fd1ae20f528f.tar.gz layman-8279886d04bb1469753144c1d204fd1ae20f528f.tar.bz2 layman-8279886d04bb1469753144c1d204fd1ae20f528f.zip |
overlay.py: Fixes any other mistakes made in haste
-rwxr-xr-x | layman/overlays/overlay.py | 7 |
1 files 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? ''' |