# HG changeset patch # User Ludovic Chabant # Date 1414423071 25200 # Node ID 9c074aec60a61e5c5bb3ea296730957a91ab0cd7 # Parent 371a6c879ab966ba995826ca22814bc513a3e2b4 Fix search for root folder. Must have been drunk when I wrote this originally. I hope I'm not drunk right now. diff -r 371a6c879ab9 -r 9c074aec60a6 piecrust/pathutil.py --- a/piecrust/pathutil.py Sun Oct 19 00:33:28 2014 -0700 +++ b/piecrust/pathutil.py Mon Oct 27 08:17:51 2014 -0700 @@ -4,7 +4,7 @@ import fnmatch -re_terminal_path = re.compile(r'[/\\]|(\w\:)') +re_terminal_path = re.compile(r'^(\w\:)?[/\\]$') class SiteNotFoundError(Exception):