From 0a4c0d35b0938a7782e5b06fa122a1218a5c0b89 Mon Sep 17 00:00:00 2001 From: Oleksii Tsvietnov Date: Sun, 16 Apr 2017 22:39:14 +0200 Subject: [PATCH] Remove trailing whitespace --- pelican/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index de12917d..9d063e9d 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -163,7 +163,7 @@ class Pelican(object): # erase the directory if it is not the source and if that's # explicitly asked if (self.delete_outputdir and not - os.path.commonpath((self.path, + os.path.commonpath((self.path, self.output_path)) != self.output_path): clean_output_dir(self.output_path, self.output_retention)