diff options
author | Devan Franchini <twitch153@gentoo.org> | 2015-08-27 20:52:16 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2015-08-27 20:52:18 -0400 |
commit | b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4 (patch) | |
tree | 0002f0cdeb1448070c388929d4e6e98c9d33fcf3 | |
parent | Adds multiple owner support to layman overlays (diff) | |
download | layman-b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4.tar.gz layman-b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4.tar.bz2 layman-b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4.zip |
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.
-rw-r--r-- | layman/utils.py | 9 |
1 files 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': '', |