[svn r38831] be more careful to not work with svnwc() paths
when checking for mtimes --HG-- branch : trunk
This commit is contained in:
		
							parent
							
								
									79a17fa4ef
								
							
						
					
					
						commit
						05ef2d5832
					
				|  | @ -98,6 +98,9 @@ def restcheck(path): | ||||||
| 
 | 
 | ||||||
| def _checkskip(lpath, htmlpath=None): | def _checkskip(lpath, htmlpath=None): | ||||||
|     if not option.forcegen: |     if not option.forcegen: | ||||||
|  |         lpath = py.path.local(lpath) | ||||||
|  |         if htmlpath is not None: | ||||||
|  |             htmlpath = py.path.local(htmlpath) | ||||||
|         if lpath.ext == '.txt':  |         if lpath.ext == '.txt':  | ||||||
|             htmlpath = htmlpath or lpath.new(ext='.html') |             htmlpath = htmlpath or lpath.new(ext='.html') | ||||||
|             if htmlpath.check(file=1) and htmlpath.mtime() >= lpath.mtime():  |             if htmlpath.check(file=1) and htmlpath.mtime() >= lpath.mtime():  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue