VirtualBox

Changeset 79045 in vbox


Ignore:
Timestamp:
Jun 7, 2019 7:41:20 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131203
Message:

testdriver/vboxwrappers.py: Docs. Dropped unnecessary cont. slashes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r76553 r79045  
    15111511                            oNic.hostInterface = sName;
    15121512                    except:
    1513                         reporter.errorXcpt('failed to set the hostInterface property on slot %s to "%s" for VM "%s"' \
    1514                             % (iNic, sName, self.sName));
     1513                        reporter.errorXcpt('failed to set the hostInterface property on slot %s to "%s" for VM "%s"'
     1514                                           % (iNic, sName, self.sName,));
    15151515                        return False;
    15161516                elif eAttachmentType == vboxcon.NetworkAttachmentType_HostOnly:
     
    15211521                            oNic.hostInterface = sName;
    15221522                    except:
    1523                         reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"' \
    1524                             % (iNic, sName, self.sName));
     1523                        reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"'
     1524                                           % (iNic, sName, self.sName,));
    15251525                        return False;
    15261526                elif eAttachmentType == vboxcon.NetworkAttachmentType_Internal:
     
    15281528                        oNic.internalNetwork = sName;
    15291529                    except:
    1530                         reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"' \
    1531                             % (iNic, sName, self.sName));
     1530                        reporter.errorXcpt('failed to set the internalNetwork property on slot %s to "%s" for VM "%s"'
     1531                                           % (iNic, sName, self.sName,));
    15321532                        return False;
    15331533                elif eAttachmentType == vboxcon.NetworkAttachmentType_NAT:
     
    15351535                        oNic.NATNetwork = sName;
    15361536                    except:
    1537                         reporter.errorXcpt('failed to set the NATNetwork property on slot %s to "%s" for VM "%s"' \
    1538                             % (iNic, sName, self.sName));
     1537                        reporter.errorXcpt('failed to set the NATNetwork property on slot %s to "%s" for VM "%s"'
     1538                                           % (iNic, sName, self.sName,));
    15391539                        return False;
    15401540            finally:
     
    15491549        """
    15501550        Sets the MAC address of the specified NIC.
     1551
     1552        The sMacAddr parameter is a string supplying the tail end of the MAC
     1553        address, missing quads are supplied from a constant byte (2), the IPv4
     1554        address of the host, and the NIC number.
     1555
    15511556        Returns True on success and False on failure.  Error information is logged.
    15521557        """
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette