for one example fibex file with the following patch:
diff --git a/abstract_parser.py b/abstract_parser.py
index 73a2d93..82bd564 100644
--- a/abstract_parser.py
+++ b/abstract_parser.py
@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-import isodate
+#import isodate
class AbstractParser(object):
@@ -99,4 +99,4 @@ class AbstractParser(object):
s = self.get_child_text(element, childtag)
if s is None:
return -1
- return (isodate.parse_duration(s)).total_seconds()
+ raise NotImplementedError
and it worked without issues.
So the question is whether we can get rid of this dependency?
I was wondering whether non-standard library dependency
isodate
is really needed by runningpython3 configuration_to_text.py FIBEX example-file.xml
and
python3 configuration_to_wireshark_config.py FIBEX example-file.xml
for one example fibex file with the following patch:
and it worked without issues.
So the question is whether we can get rid of this dependency?