X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=const.py;fp=const.py;h=1a42485421ac7c2fd33ffb5d5535a460281e9990;hb=9048402f56c24474c79920ab849748223ed339cf;hp=b91996a7813ce085fe5940321ae0a74aa9db98e2;hpb=ed8094830c2c2ab4785d10b3d562d609a42741f0;p=quix0rs-apt-p2p.git diff --git a/const.py b/const.py index b91996a..1a42485 100644 --- a/const.py +++ b/const.py @@ -1,6 +1,7 @@ ## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved # see LICENSE.txt for license information +""" from twisted.internet.default import SelectReactor ## twistedmatrix.com reactor = SelectReactor() @@ -14,6 +15,8 @@ try: reactor.installResolver(twisted.names.client.theResolver) except IOError: print "no resolv.conf!" +""" +from twisted.internet import reactor # magic id to use before we know a peer's id NULL_ID = 20 * '\0'