git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ff0da
)
type mapping.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Sat, 28 Feb 2009 05:42:12 +0000
(
05:42
+0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Sat, 28 Feb 2009 05:42:12 +0000
(
05:42
+0000)
geni/util/rspec.py
patch
|
blob
|
history
diff --git
a/geni/util/rspec.py
b/geni/util/rspec.py
index
b5ca861
..
aff3200
100644
(file)
--- a/
geni/util/rspec.py
+++ b/
geni/util/rspec.py
@@
-259,4
+259,13
@@
class Rspec():
for child in dom.childNodes:
self.filter(tagname, attribute, blacklist, whitelist, child)
+
+ def validateDicts(self):
+ types = {
+ 'EInt' = int,
+ 'EString' = str,
+ 'EByteArray' = list,
+ 'EBoolean' = bool,
+ 'EFloat' = float,
+ 'EDate' = date}
# vim:ts=4:expandtab