diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-10-06 14:28:14 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-10-06 14:30:43 +0200 |
commit | 4810c48d6d7e950c2cb1203f4d07bea1ba02c1e1 (patch) | |
tree | 8a75c643e301b2b24ddeaa08de690b2533cf372e /youtube_dl/version.py | |
parent | c4af7684d85a17441c5f6f0b6e9f8c470644fec0 (diff) |
[compat] Do not compare None <= 0
The result is meaningless (and it emits a warning in cpython2 when called with -3), so handle None before making integer comparisons.
Diffstat (limited to 'youtube_dl/version.py')
0 files changed, 0 insertions, 0 deletions