aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bug.py
diff options
context:
space:
mode:
authorValtteri Kokkoniemi <rvk@iki.fi>2011-04-16 13:16:10 -0400
committerW. Trevor King <wking@drexel.edu>2011-04-16 13:16:10 -0400
commit1b5fadebf63f5c3914467084bad94dbdd02cf832 (patch)
tree14779439948317029da83304099b15c304ab0644 /libbe/bug.py
parentf0825c800c185338fecbf38d5b90b634a5cda015 (diff)
downloadbugseverywhere-1b5fadebf63f5c3914467084bad94dbdd02cf832.tar.gz
fixed created tag handling in import-xml
Diffstat (limited to 'libbe/bug.py')
-rw-r--r--libbe/bug.py4
1 files changed, 4 insertions, 0 deletions
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.