X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tools%2Ffastbgp%2Fplay.py;fp=tools%2Ffastbgp%2Fplay.py;h=b75aa2de4ea86a61d50ce7c732058becb87b8d99;hb=b2cd74063cbcdfadcbe20746116ec276e27ea0cb;hp=d82cbab0073211264b61fc82eb93cddfe0fc25da;hpb=e405dbebf449bda49e3c9f071043e28f57c64438;p=integration%2Ftest.git diff --git a/tools/fastbgp/play.py b/tools/fastbgp/play.py index d82cbab007..b75aa2de4e 100755 --- a/tools/fastbgp/play.py +++ b/tools/fastbgp/play.py @@ -186,7 +186,7 @@ def parse_arguments(): parser.add_argument("--skipattr", default=False, action="store_true", help=str_help) arguments = parser.parse_args() if arguments.multiplicity < 1: - print "Multiplicity", arguments.multiplicity, "is not positive." + print("Multiplicity", arguments.multiplicity, "is not positive.") raise SystemExit(1) # TODO: Are sanity checks (such as asnumber>=0) required? return arguments @@ -1857,7 +1857,6 @@ class WriteTracker(object): :return: true if no remaining data to send """ # We assume there is a msg_out to send and socket is writable. - # print "going to send", repr(self.msg_out) self.timer.snapshot() bytes_sent = self.socket.send(self.msg_out) # Forget the part of message that was sent. @@ -2153,7 +2152,7 @@ def threaded_job(arguments): for t in thread_args: thread.start_new_thread(job, (t, rpcqueue, storage)) except Exception: - print "Error: unable to start thread." + print("Error: unable to start thread.") raise SystemExit(2) if arguments.usepeerip: