# HG changeset patch # User Ludovic Chabant # Date 1519014582 28800 # Node ID 68593928298dc5ddf6b977a38c933607ac9f68d9 # Parent 353c58ba596a9f30f7857a17504d2b879f9ee127 internal: Remove unnecessary imports. diff -r 353c58ba596a -r 68593928298d piecrust/admin/siteinfo.py --- 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()