commit: b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 28 00:52:16 2015 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Fri Aug 28 00:52:18 2015 +0000
URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=b5239542
utils.py: Gives create_overlay_dict a well needed updating
As this function exists with the API consumer in mind the function
was well overdue for getting it the result keys updated to reflect
all the ongoing changes in layman's API.
layman/utils.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/layman/utils.py b/layman/utils.py
index b8e1e2a..9530701 100644
--- a/layman/utils.py
+++ b/layman/utils.py
@@ -331,13 +331,12 @@ def create_overlay_dict(**kwargs):
"""
result = {
'name': '',
- 'owner_name': '',
- 'owner_email': '',
+ 'owner': [],
'homepage': '',
'irc': '',
- 'description': '',
- 'feeds': [],
- 'sources': [('','','')],
+ 'description': [],
+ 'feed': [],
+ 'source': [('','','')],
'priority': 50,
'quality': 'experimental',
'status': '',