gertty/gertty
James E. Blair 0e770f0df6 Fix change view display of inline comments in python3
File comments were causing an exception when displayed on the
change view because python3 does not allow comparing None to int,
and file comments have a line number of None.

To correct this, use 0 as the line number for file comments whin
sorting and displaying them in the change view; there is no line
0 so this minor aliasing shouldn't cause any collisions.

Also, add a newline to the end of file comments, just as regular
inline comments (otherwise if a file comment was followed by a
line comment, they would appear on the same line).

Change-Id: Iedf88cdfd83adbc405e26cb013c9f57481d50c90
2019-03-28 08:03:42 -07:00
..
alembic Add an outdated flag for changes 2016-08-09 09:32:55 -07:00
search Allow negative comparison on null topics 2017-03-17 14:43:47 -07:00
view Fix change view display of inline comments in python3 2019-03-28 08:03:42 -07:00
__init__.py Initial commit 2014-04-29 16:28:49 -07:00
alembic.ini Use alembic 2014-05-07 21:35:07 -04:00
app.py Merge "Enable review keys in diffs, and close change on review" 2019-03-19 14:46:53 +00:00
auth.py Use urlparse from six for python 3 compat 2016-09-20 01:47:48 -07:00
commentlink.py Allow gertty to run in Py3K environments 2016-01-15 09:10:31 -08:00
config.py Enable review keys in diffs, and close change on review 2019-03-06 11:08:23 -07:00
db.py Handle approvals with no name 2017-08-14 09:38:38 -07:00
dbsupport.py Attach comments to files 2015-05-27 08:34:04 -07:00
gitrepo.py Fix tab expansion in inter-patchset diff 2019-03-28 08:03:42 -07:00
keymap.py Add ctrl-v/meta-v bindings for page-up/page-down 2019-02-18 12:24:50 -07:00
mywid.py Fix crash on python3 2018-11-25 10:09:33 -08:00
palette.py Add inline comments to change overview 2019-01-29 22:22:38 +01:00
requestsexceptions.py Handle SNIMissingWarning requests exception 2016-05-11 11:37:19 -07:00
sync.py Do not decode failed POST response 2018-12-19 03:26:14 +00:00
version.py Add user-agent and version 2014-08-30 14:55:53 -07:00