X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fplanetlab%2Fscripts%2Fpl-vif-udp-connect.py;h=fa16879bc7b1cbd0f86b72e3b2d327a79b4bfc93;hb=4ec5c9e5454b68a3dab82a5073aee50231706706;hp=c59bf05a240d1efff4bd84b724cb75d3a31145de;hpb=88c5b86c62dbaef9e3b2a73bf08b6c21075e12a3;p=nepi.git diff --git a/src/nepi/resources/planetlab/scripts/pl-vif-udp-connect.py b/src/nepi/resources/planetlab/scripts/pl-vif-udp-connect.py index c59bf05a..fa16879b 100644 --- a/src/nepi/resources/planetlab/scripts/pl-vif-udp-connect.py +++ b/src/nepi/resources/planetlab/scripts/pl-vif-udp-connect.py @@ -8,7 +8,7 @@ import time import tunchannel import vsys -from optparse import OptionParser, SUPPRESS_HELP +from optparse import OptionParser PASSFD_MSG = "PASSFD" @@ -146,7 +146,7 @@ if __name__ == '__main__': # xxx: There seems to be a weird behavior where # even if the file exists and had the port number, # the read operation returns empty string! - # Maybe a raise condition? + # Maybe a race condition? for i in xrange(10): f = open(remote_port_file, 'r') remote_port = f.read()