From: Guillaume Pellerin Date: Sun, 29 Apr 2012 22:49:11 +0000 (+0200) Subject: pycurl import only when instancing X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=029fb3051a6fa802e3101e6602e747b9f81f055d;p=deefuzzer.git pycurl import only when instancing --- diff --git a/deefuzzer/tools/streamer.py b/deefuzzer/tools/streamer.py index 8454dbb..13dafc0 100644 --- a/deefuzzer/tools/streamer.py +++ b/deefuzzer/tools/streamer.py @@ -37,7 +37,6 @@ # Author: Guillaume Pellerin from threading import Thread -import pycurl class HTTPStreamer(Thread): @@ -58,6 +57,7 @@ class HTTPStreamer(Thread): def __init__(self): Thread.__init__(self) + import pycurl self.curl = pycurl.Curl() def set_callback(self, read_callback):