aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bug.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/bug.py')
-rw-r--r--libbe/bug.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index 3b9be59..f562836 100644
--- a/libbe/bug.py
+++ b/libbe/bug.py
@@ -410,8 +410,9 @@ class Bug (settings_object.SavedSettingsObject):
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')
+ if text is not settings_object.EMPTY:
+ self.time = utility.str_to_time(text)
+ self.explicit_attrs.append('time')
continue
elif child.tag == 'extra-string':
estrs.append(text)