-
Notifications
You must be signed in to change notification settings - Fork 1
Description
author: chrisjsewell
created: 2020-08-09 18:23:57.785000
assigned: None
SF_url: https://sourceforge.net/p/docutils/bugs/402
./docutils/writers/manpage.py:51:13: F821 undefined name 'xrange'
commenter: tk0miya
posted: 2020-08-09 18:32:27.502000
title: #402 Fix flake8
Did you read the code? It is a code only available under python2. And docutils has still supported it.
if sys.version_info < (3, 0):
range = xrange
What are you expected?
commenter: chrisjsewell
posted: 2020-08-09 18:34:25.250000
title: #402 Fix flake8
What are you expected?
To add # noqa: F821
commenter: tk0miya
posted: 2020-08-09 18:37:34.950000
title: #402 Fix flake8
attachments:
Thanks! Here is a patch to fix it :-)
commenter: chrisjsewell
posted: 2020-08-09 18:38:10.329000
title: #402 Fix flake8
thanks :)