aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2015-07-13 15:05:30 -0400
committerDevan Franchini <twitch153@gentoo.org>2015-07-13 15:05:30 -0400
commit8279886d04bb1469753144c1d204fd1ae20f528f (patch)
tree5919f0f3877e50815c88fba2097c5cb271a242d7
parentoverlay.py: Corrects else on line 316 (diff)
downloadlayman-8279886d04bb1469753144c1d204fd1ae20f528f.tar.gz
layman-8279886d04bb1469753144c1d204fd1ae20f528f.tar.bz2
layman-8279886d04bb1469753144c1d204fd1ae20f528f.zip
overlay.py: Fixes any other mistakes made in haste
-rwxr-xr-xlayman/overlays/overlay.py7
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?
'''