VirtualBox

Ignore:
Timestamp:
Feb 21, 2017 9:55:39 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113573
Message:

python 3 fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/common/webutils.py

    r62484 r65828  
    168168            oDst.close();
    169169            oSrc.close();
    170         except Exception, oXcpt:
     170        except Exception as oXcpt:
    171171            fnError('Error downloading "%s" to "%s": %s' % (sUrlFile, sDstFile, oXcpt));
    172172            return False;
     
    177177        try:
    178178            utils.copyFileSimple(sSrcPath, sDstFile);
    179         except Exception, oXcpt:
     179        except Exception as oXcpt:
    180180            fnError('Error copying "%s" to "%s": %s' % (sSrcPath, sDstFile, oXcpt));
    181181            return False;
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