Commit 218037ea authored by Marco Mariani's avatar Marco Mariani

cleanup/order imports according to PEP8

parent 6c1899b2
......@@ -18,22 +18,22 @@
# along with DREAM. If not, see <http://www.gnu.org/licenses/>.
# ===========================================================================
import sys
import os
import argparse
import json
import urllib
import xlrd
import traceback
import multiprocessing
from dream.KnowledgeExtraction.DistributionFitting import DistFittest
from dream.KnowledgeExtraction.ImportExceldata import Import_Excel
import os.path
import logging
import multiprocessing
import os
import signal
import sys
import traceback
import urllib
from flask import Flask, jsonify, redirect, url_for
from flask import request
import xlrd
from dream.KnowledgeExtraction.DistributionFitting import DistFittest
from dream.KnowledgeExtraction.ImportExceldata import Import_Excel
global klass_name
klass_name = None
......@@ -115,8 +115,6 @@ def runWithTimeout(func, timeout, *args, **kw):
return queue.get()
def _runWithTimeout(queue, func, args, kw):
import signal
import traceback
if hasattr(signal, 'SIGUSR1'):
signal.signal(signal.SIGUSR1, lambda sig, stack: traceback.print_stack(stack))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment