]> git.ipfire.org Git - thirdparty/patchwork.git/commit
py3: max does not accept 'None'
authorStephen Finucane <stephen.finucane@intel.com>
Sun, 29 Nov 2015 06:51:14 +0000 (06:51 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 3 Dec 2015 22:08:56 +0000 (22:08 +0000)
commit4db36325602951f7b34f93ba0d1920dda4f72d9c
tree3951659e39d9ba584d7b1af1f85e8cc5d839f0cf
parent891dd84e7f11747a4425df1bea076fda0508671a
py3: max does not accept 'None'

max(n, None), where n is a valid number, is valid in Python 2 but not
Python 3. Replace these calls with something that works in both
versions of Python.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/views/xmlrpc.py