VirtualBox

Changeset 28997 in vbox


Ignore:
Timestamp:
May 4, 2010 9:44:14 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61028
Message:

python WS: accept str too in setter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/websrv-python.xsl

    r28800 r28997  
    108108       req=<xsl:value-of select="$ifname"/>_<xsl:value-of select="$fname"/>RequestMsg()
    109109       req._this=self.handle
    110        if type(value) in [int, bool, basestring]:
     110       if type(value) in [int, bool, basestring, str]:
    111111            req._<xsl:value-of select="$attrname"/> = value
    112112       else:
Note: See TracChangeset for help on using the changeset viewer.

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