VirtualBox

Ignore:
Timestamp:
Feb 22, 2016 12:14:21 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105641
Message:

PyXPCOM: port to make it compatible with Python 3 (minimum supported version is 2.6 like for all other Python files now)
Frontends/VBoxShell, Installer/common/vboxapisetup.py, Main/glue/vboxapi.py, Main/webservice/websrv-python.xsl: make it compatible with Python 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/python/vboxxpcom.py

    r48282 r59769  
    11"""
    2 Copyright (C) 2008-2012 Oracle Corporation
     2Copyright (C) 2008-2016 Oracle Corporation
    33
    44This file is part of VirtualBox Open Source Edition (OSE), as
     
    4747        _oVBoxPythonMod =  __import__(m)
    4848        break
    49     except Exception, x:
    50         print 'm=%s x=%s' % (m, x);
     49    except Exception as x:
     50        print('m=%s x=%s' % (m, x))
    5151    #except:
    5252    #    pass
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