Changeset 61829 in vbox for trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
- Timestamp:
- Jun 22, 2016 6:56:54 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108236
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r61569 r61829 488 488 they don't throw errors. 489 489 """ 490 if True :490 if True is True: 491 491 try: 492 492 iPct = self.o.operationPercent; … … 1450 1450 sHostIP = socket.gethostbyname(sHostName) 1451 1451 abHostIP = socket.inet_aton(sHostIP) 1452 if ord(abHostIP[0]) == 127 \1453 or ord(abHostIP[0]) == 169 and ord(abHostIP[1]) == 254\1454 or ord(abHostIP[0]) == 192 and ord(abHostIP[1]) == 168 and ord(abHostIP[2]) == 56:1452 if ord(abHostIP[0]) == 127 \ 1453 or (ord(abHostIP[0]) == 169 and ord(abHostIP[1]) == 254) \ 1454 or (ord(abHostIP[0]) == 192 and ord(abHostIP[1]) == 168 and ord(abHostIP[2]) == 56): 1455 1455 reporter.log('warning: host IP for "%s" is %s, most likely not unique.' % (sHostName, sHostIP)) 1456 1456 except:
Note:
See TracChangeset
for help on using the changeset viewer.