diff options
author | W. Trevor King <wking@drexel.edu> | 2008-11-14 20:34:57 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-11-14 20:34:57 -0500 |
commit | 8895be5592b93780bcedf16a40d522a86f891fa8 (patch) | |
tree | dff060962218b152f263b056ca9a9dc7531f8a68 | |
parent | e76aa4d29f532fc5c116f62b77ec4fa179a3cdac (diff) | |
download | bugseverywhere-8895be5592b93780bcedf16a40d522a86f891fa8.tar.gz |
Fixed a few more Comment.date->time calls.
Bug keeps timestamps in Bug.time, so working towards consitency for
Comment.
-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 |