summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-10-04 16:29:26 +0900
committerDominique Martinet <asmadeus@codewreck.org>2018-10-05 12:35:35 +0900
commitf63a381d0be97f959c967891162b91619924028f (patch)
treea297c74b0a93410cf9aae5314b034f911ef0b9f1
parent058250d95124683a3eccaf495b3995d5c9dc63ce (diff)
typo - s/fileojb/fileobj/
Notes
Notes (review): Code-Review+1: Natal Ng├ętal <hobbestigrou@erakis.eu> Code-Review+2: James E. Blair <corvus@inaugust.com> Workflow+1: James E. Blair <corvus@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 19 Nov 2018 16:44:08 +0000 Reviewed-on: https://review.openstack.org/608155 Project: openstack/gertty Branch: refs/heads/master
-rw-r--r--gertty/view/diff.py4
1 files 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):
512 if file_key is None: 512 if file_key is None:
513 raise Exception("Comment is not associated with a file") 513 raise Exception("Comment is not associated with a file")
514 with self.app.db.getSession() as session: 514 with self.app.db.getSession() as session:
515 fileojb = session.getFile(file_key) 515 fileobj = session.getFile(file_key)
516 account = session.getAccountByUsername(self.app.config.username) 516 account = session.getAccountByUsername(self.app.config.username)
517 comment = fileojb.createComment(None, account, None, 517 comment = fileobj.createComment(None, account, None,
518 datetime.datetime.utcnow(), 518 datetime.datetime.utcnow(),
519 parent, 519 parent,
520 line_num, text, draft=True) 520 line_num, text, draft=True)