From 05ef2d58323da473a17b2c6bd0dae31bfdf48b79 Mon Sep 17 00:00:00 2001 From: hpk Date: Wed, 14 Feb 2007 15:07:23 +0100 Subject: [PATCH] [svn r38831] be more careful to not work with svnwc() paths when checking for mtimes --HG-- branch : trunk --- py/doc/conftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/py/doc/conftest.py b/py/doc/conftest.py index 142b4344b..37e38d05a 100644 --- a/py/doc/conftest.py +++ b/py/doc/conftest.py @@ -98,6 +98,9 @@ def restcheck(path): def _checkskip(lpath, htmlpath=None): if not option.forcegen: + lpath = py.path.local(lpath) + if htmlpath is not None: + htmlpath = py.path.local(htmlpath) if lpath.ext == '.txt': htmlpath = htmlpath or lpath.new(ext='.html') if htmlpath.check(file=1) and htmlpath.mtime() >= lpath.mtime():