changeset 893:14cca285f73b

clean: PEP8.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 02 Jul 2017 22:20:48 -0700
parents c445a3d5d950
children ca357249a321
files piecrust/themes/base.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/themes/base.py	Sun Jul 02 22:20:32 2017 -0700
+++ b/piecrust/themes/base.py	Sun Jul 02 22:20:48 2017 -0700
@@ -1,7 +1,7 @@
 import sys
 import os.path
 import yaml
-from piecrust import CONFIG_PATH, THEME_DIR, THEMES_DIR
+from piecrust import CONFIG_PATH, THEMES_DIR
 
 
 class Theme(object):
@@ -53,6 +53,6 @@
                 return theme_dir
 
         raise ThemeNotFoundError(
-                "Can't find theme '%s'. Looked in: %s" %
-                (theme, ', '.join(dirs)))
+            "Can't find theme '%s'. Looked in: %s" %
+            (theme, ', '.join(dirs)))