VirtualBox

Changeset 21370 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Jul 7, 2009 8:57:24 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49724
Message:

Python: glue array naming typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/vboxapi.py

    r21299 r21370  
    274274        for m in dir(impl):
    275275           if m.startswith("on"):     
    276              str += "   "+m[0].capitalize()+m[1:]+"=BaseClass."+m+"\n"
     276             str += "   "+ComifyName(m)+"=BaseClass."+m+"\n"
    277277
    278278        str += "   def __init__(self): BaseClass.__init__(self, arg)\n"
     
    344344
    345345    def getArray(self, obj, field):
    346         return obj.__getattr__('get'+field.capitalize())()
     346        return obj.__getattr__('get'+ComifyName(field))()
    347347
    348348    def initPerThread(self):
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