diff options
-rw-r--r-- | becommands/comment.py | 2 | ||||
-rw-r--r-- | 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 |