From e722cb2db7f24a9d92aeaed573da8a5ad93106e1 Mon Sep 17 00:00:00 2001 From: fijal Date: Wed, 15 Aug 2007 12:53:26 +0200 Subject: [PATCH] [svn r45671] Change lines for code.txt not to fail on cpy2.5 Problem is described in tests (skipped) anyway, hence there is no point in failing code snippet in documentation --HG-- branch : trunk --- py/path/local/local.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/py/path/local/local.py b/py/path/local/local.py index cfc96c722..39fc5591b 100644 --- a/py/path/local/local.py +++ b/py/path/local/local.py @@ -68,9 +68,8 @@ class LocalPath(common.FSPathBase, PlatformMixin): elif isinstance(path, str): self.strpath = os.path.abspath(os.path.normpath(str(path))) else: - raise ValueError( - "can only pass None, Path instances " - "or non-empty strings to LocalPath") + raise ValueError("can only pass None, Path instances " + "or non-empty strings to LocalPath") assert isinstance(self.strpath, str) return self