]> git.parisson.com Git - deefuzzer.git/commitdiff
pycurl import only when instancing
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 29 Apr 2012 22:49:11 +0000 (00:49 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 29 Apr 2012 22:49:11 +0000 (00:49 +0200)
deefuzzer/tools/streamer.py

index 8454dbb87ae4880e6d1fc59b34aa39dc088a5fad..13dafc01c6711d469fdf0b20dbff237ecc7ddcc8 100644 (file)
@@ -37,7 +37,6 @@
 # Author: Guillaume Pellerin <yomguy@parisson.com>
 
 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):