typo - s/fileojb/fileobj/
Change-Id: I0869d9fcd19e74ce30bbb4fef51b710c41150a14
This commit is contained in:
parent
058250d951
commit
f63a381d0b
|
@ -512,9 +512,9 @@ class BaseDiffView(urwid.WidgetWrap, mywid.Searchable):
|
||||||
if file_key is None:
|
if file_key is None:
|
||||||
raise Exception("Comment is not associated with a file")
|
raise Exception("Comment is not associated with a file")
|
||||||
with self.app.db.getSession() as session:
|
with self.app.db.getSession() as session:
|
||||||
fileojb = session.getFile(file_key)
|
fileobj = session.getFile(file_key)
|
||||||
account = session.getAccountByUsername(self.app.config.username)
|
account = session.getAccountByUsername(self.app.config.username)
|
||||||
comment = fileojb.createComment(None, account, None,
|
comment = fileobj.createComment(None, account, None,
|
||||||
datetime.datetime.utcnow(),
|
datetime.datetime.utcnow(),
|
||||||
parent,
|
parent,
|
||||||
line_num, text, draft=True)
|
line_num, text, draft=True)
|
||||||
|
|
Loading…
Reference in New Issue