projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0825c8
)
fixed created tag handling in import-xml
author
Valtteri Kokkoniemi
<rvk@iki.fi>
Sat, 16 Apr 2011 17:16:10 +0000
(13:16 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 16 Apr 2011 17:16:10 +0000
(13:16 -0400)
libbe/bug.py
patch
|
blob
|
history
diff --git
a/libbe/bug.py
b/libbe/bug.py
index 6d3d836d8a7ce5b67cc987f5ec69bd575a81cd19..122c81a16f717d8e8bff9da2d73b848b5131b904 100644
(file)
--- 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.