Mention PR# in the comment for future reference

This commit is contained in:
Bruno Oliveira 2018-11-21 20:49:17 -02:00
parent 4f5c153d29
commit f1fe9e41ac
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ class TempPathFactory(object):
_given_basetemp = attr.ib( _given_basetemp = attr.ib(
# using os.path.abspath() to get absolute path instead of resolve() as it # using os.path.abspath() to get absolute path instead of resolve() as it
# does not work the same in all platforms; there's Path.absolute(), but it is not # does not work the same in all platforms (see #4427)
# public (see https://bugs.python.org/issue25012) # Path.absolute() exists, but it is not public (see https://bugs.python.org/issue25012)
convert=attr.converters.optional( convert=attr.converters.optional(
lambda p: Path(os.path.abspath(six.text_type(p))) lambda p: Path(os.path.abspath(six.text_type(p)))
) )