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