diff options
author | Valtteri Kokkoniemi <rvk@iki.fi> | 2011-04-16 13:16:10 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2011-04-16 13:16:10 -0400 |
commit | 1b5fadebf63f5c3914467084bad94dbdd02cf832 (patch) | |
tree | 14779439948317029da83304099b15c304ab0644 /libbe/bug.py | |
parent | f0825c800c185338fecbf38d5b90b634a5cda015 (diff) | |
download | bugseverywhere-1b5fadebf63f5c3914467084bad94dbdd02cf832.tar.gz |
fixed created tag handling in import-xml
Diffstat (limited to 'libbe/bug.py')
-rw-r--r-- | libbe/bug.py | 4 |
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. |