parent
cda5c7215d
commit
da26d914c8
|
@ -1,6 +1,14 @@
|
|||
import greensock2
|
||||
from pypeers.tool import log
|
||||
from py.__.net import greensock2
|
||||
|
||||
VERBOSE = True
|
||||
|
||||
|
||||
if VERBOSE:
|
||||
def log(msg, *args):
|
||||
print '*', msg % args
|
||||
else:
|
||||
def log(msg, *args):
|
||||
pass
|
||||
|
||||
class BufferedInput(object):
|
||||
in_buf = ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import greensock2
|
||||
from py.__.net import greensock2
|
||||
import socket, errno, os
|
||||
|
||||
error = socket.error
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from pypeers.stream.common import BufferedInput
|
||||
from py.__.net.pipe.common import BufferedInput
|
||||
|
||||
|
||||
class MeetingPointInput(BufferedInput):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import BaseHTTPServer
|
||||
from pypeers import greensock2
|
||||
from pypeers.pipe.gsocket import GreenSocket
|
||||
from py.__.net import greensock2
|
||||
from py.__.net.pipe.gsocket import GreenSocket
|
||||
|
||||
|
||||
class GreenMixIn:
|
||||
|
|
Loading…
Reference in New Issue