From 32210e83f73974eec0d6494475af1c9bb995c1d1 Mon Sep 17 00:00:00 2001 From: MoonGem <34537029+MoonGem@users.noreply.github.com> Date: Tue, 27 Mar 2018 01:42:12 -0500 Subject: [PATCH] PEP8 Compliant --- parallel/generator.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/parallel/generator.py b/parallel/generator.py index 614d7e455..ea1545bcc 100644 --- a/parallel/generator.py +++ b/parallel/generator.py @@ -1,10 +1,14 @@ #!/usr/bin/env python3 -import math, sys, os, time, pp, math, re -from io import StringIO - +import math +import sys +import os +import time +import pp +import math +import re # tuple of all parallel python servers to connect with ppservers = () -#ppservers = ("10.0.0.1",) +# ppservers = ("10.0.0.1",) # Number of jobs to run parts = 1000000 @@ -17,7 +21,7 @@ current = 0 def backtesting(ind): er1 = str(ind) ou1 = str(ind * 1024) - import threading, traceback + import threading from io import StringIO from freqtrade.main import main, set_loggers old_stdout = sys.stdout