1 |
commit: 205a0fe164142e4b9c2328672e27f98b9b76a013 |
2 |
Author: Andre Erdmann <dywi <AT> mailerd <DOT> de> |
3 |
AuthorDate: Tue May 29 17:03:10 2012 +0000 |
4 |
Commit: André Erdmann <dywi <AT> mailerd <DOT> de> |
5 |
CommitDate: Tue May 29 17:03:10 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=205a0fe1 |
7 |
|
8 |
temporary files, tmpconst: add allowed_values |
9 |
|
10 |
--- |
11 |
roverlay/tmpconst.py | 4 +++- |
12 |
1 files changed, 3 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/roverlay/tmpconst.py b/roverlay/tmpconst.py |
15 |
index 3f10aaa..8519aad 100644 |
16 |
--- a/roverlay/tmpconst.py |
17 |
+++ b/roverlay/tmpconst.py |
18 |
@@ -15,7 +15,8 @@ DESCRIPTION_LIST_SPLIT_REGEX = '\s*[,;]{1}\s*' |
19 |
|
20 |
DESCRIPTION_FILE_NAME = 'DESCRIPTION' |
21 |
|
22 |
-DESCRIPTION_VALID_OS_TYPES = [ "unix" ] |
23 |
+# moved to <field> -> 'allowed_values' |
24 |
+##DESCRIPTION_VALID_OS_TYPES = [ "unix" ] |
25 |
|
26 |
|
27 |
# note for 2012-05-25: make this struct more organized, assign real values |
28 |
@@ -99,6 +100,7 @@ DESCRIPTION_FIELD_MAP = { |
29 |
'alias' : { |
30 |
'nocase' : [ 'OS_TYPE' ] |
31 |
}, |
32 |
+ 'allowed_values' : [ 'unix' ], |
33 |
}, |
34 |
'test-default' : { |
35 |
'default_value' : 'some default value' |