VirtualBox

Changeset 39718 in vbox for trunk/src/libs/xpcom18a4/python


Ignore:
Timestamp:
Jan 7, 2012 2:26:56 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75576
Message:

nits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/python/src/module/_xpcom.cpp

    r39535 r39718  
    529529    NS_WARN_IF_FALSE(aEventQ != nsnull, "Null main event queue");
    530530    if (!aEventQ)
    531         {
     531    {
    532532        PyErr_SetString(PyExc_TypeError, "the main event queue is NULL");
    533533        return NULL;
    534         }
     534    }
    535535
    536536    Py_BEGIN_ALLOW_THREADS
     
    545545
    546546    if (rc == VERR_INVALID_CONTEXT)
    547         {
     547    {
    548548        PyErr_SetString(PyExc_Exception, "wrong thread, use the main thread");
    549                 return NULL;
    550         }
     549        return NULL;
     550    }
    551551
    552552    return PyInt_FromLong(2);
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