From f63a381d0be97f959c967891162b91619924028f Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Thu, 4 Oct 2018 16:29:26 +0900 Subject: [PATCH] typo - s/fileojb/fileobj/ Change-Id: I0869d9fcd19e74ce30bbb4fef51b710c41150a14 --- gertty/view/diff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gertty/view/diff.py b/gertty/view/diff.py index 10edcc9..0509a04 100644 --- a/gertty/view/diff.py +++ b/gertty/view/diff.py @@ -512,9 +512,9 @@ class BaseDiffView(urwid.WidgetWrap, mywid.Searchable): if file_key is None: raise Exception("Comment is not associated with a file") with self.app.db.getSession() as session: - fileojb = session.getFile(file_key) + fileobj = session.getFile(file_key) account = session.getAccountByUsername(self.app.config.username) - comment = fileojb.createComment(None, account, None, + comment = fileobj.createComment(None, account, None, datetime.datetime.utcnow(), parent, line_num, text, draft=True)