From 8895be5592b93780bcedf16a40d522a86f891fa8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 14 Nov 2008 20:34:57 -0500 Subject: [PATCH] Fixed a few more Comment.date->time calls. Bug keeps timestamps in Bug.time, so working towards consitency for Comment. --- becommands/comment.py | 2 +- libbe/bug.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/becommands/comment.py b/becommands/comment.py index d214a19..50fdc23 100644 --- a/becommands/comment.py +++ b/becommands/comment.py @@ -30,7 +30,7 @@ def execute(args): u'This is a comment about a\\n' >>> comment.From == names.creator() True - >>> comment.date <= int(time.time()) + >>> comment.time <= int(time.time()) True >>> comment.in_reply_to is None True diff --git a/libbe/bug.py b/libbe/bug.py index 19297bb..b0ebca4 100644 --- a/libbe/bug.py +++ b/libbe/bug.py @@ -182,7 +182,7 @@ def new_bug(dir, uuid=None): def new_comment(bug, body=None): comm = bug.new_comment() comm.From = names.creator() - comm.date = time.time() + comm.time = time.time() comm.body = body return comm -- 2.26.2