Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision d5fa1d5c7ba96e783e5242d8babc53b83f48db8b authored by Sean Farley on 15 November 2013, 20:02:09 UTC, committed by Sean Farley on 15 November 2013, 20:02:09 UTC
Previously, the 'status' variable was initialized with the integer '1' so that
the 'if status is None' statement would fail and then a default value of
'status.lower()' was used but this would fail since status is an integer. After
this patch, we try to convert from an integer first, then fall back to using a
default value.
1 parent ef4401e
History
Tip revision: d5fa1d5c7ba96e783e5242d8babc53b83f48db8b authored by Sean Farley on 15 November 2013, 20:02:09 UTC
hgrepoviewer: fix int conversion
Tip revision: d5fa1d5
File Mode Size
curses
hgpatches
qt4
__init__.py -rw-r--r-- 1.1 KB
__pkginfo__.py -rw-r--r-- 2.2 KB
application.py -rw-r--r-- 7.1 KB
config.py -rw-r--r-- 12.0 KB
decorators.py -rw-r--r-- 514 bytes
hggraph.py -rw-r--r-- 27.4 KB
hgviewhelp.py -rw-r--r-- 7.6 KB
inotify.py -rw-r--r-- 4.5 KB
util.py -rw-r--r-- 7.9 KB

back to top