git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trying to add some error checking to matches and targets
[sfa.git]
/
sfatables
/
xmlextension.py
diff --git
a/sfatables/xmlextension.py
b/sfatables/xmlextension.py
index
84e336f
..
412419b
100644
(file)
--- a/
sfatables/xmlextension.py
+++ b/
sfatables/xmlextension.py
@@
-13,8
+13,10
@@
class Xmlextension:
operand = "VALUE"
arguments = []
operand = "VALUE"
arguments = []
- def __init__(self, component_name):
- filename = match_dir+"/"+component_name+".xml"
+ def __init__(self, dir, component_name):
+ filename = dir+"/"+component_name+".xml"
+ import pdb
+ pdb.set_trace()
self.xmldoc = libxml2.parseFile(filename)
# TODO: Check xmldoc against a schema
self.xmldoc = libxml2.parseFile(filename)
# TODO: Check xmldoc against a schema