From: Valtteri Kokkoniemi Date: Sat, 16 Apr 2011 17:16:10 +0000 (-0400) Subject: fixed created tag handling in import-xml X-Git-Tag: 1.1.0~226 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b5fadebf63f5c3914467084bad94dbdd02cf832;p=be.git fixed created tag handling in import-xml --- 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.