From 1b5fadebf63f5c3914467084bad94dbdd02cf832 Mon Sep 17 00:00:00 2001 From: Valtteri Kokkoniemi Date: Sat, 16 Apr 2011 13:16:10 -0400 Subject: [PATCH] fixed created tag handling in import-xml --- libbe/bug.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libbe/bug.py b/libbe/bug.py index 6d3d836..122c81a 100644 --- a/libbe/bug.py +++ b/libbe/bug.py @@ -395,6 +395,10 @@ class Bug (settings_object.SavedSettingsObject): if child.tag == 'uuid': uuid = text continue # don't set the bug's uuid tag. + elif child.tag == 'created': + self.time = utility.str_to_time(text) + self.explicit_attrs.append('time') + continue elif child.tag == 'extra-string': estrs.append(text) continue # don't set the bug's extra_string yet. -- 2.26.2