changeset 1105:68593928298d

internal: Remove unnecessary imports.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 18 Feb 2018 20:29:42 -0800
parents 353c58ba596a
children c714bcdc8b3b
files piecrust/admin/siteinfo.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/admin/siteinfo.py	Sat Feb 17 20:49:53 2018 -0800
+++ b/piecrust/admin/siteinfo.py	Sun Feb 18 20:29:42 2018 -0800
@@ -3,9 +3,8 @@
 import sys
 import copy
 import logging
-import threading
 import subprocess
-from flask import request, flash
+from flask import flash
 from piecrust import CACHE_DIR
 from piecrust.app import PieCrustFactory
 
@@ -101,7 +100,8 @@
                 flash("Asset baking process returned '%s'... check the log." %
                       proc.returncode)
         except subprocess.TimeoutExpired:
-            flash("Asset baking process is still running... check the log later.")
+            flash("Asset baking process is still running... "
+                  "check the log later.")
 
     def getPublishTargetLogFile(self, target):
         target = target.replace(' ', '_').lower()