VirtualBox

Changeset 61834 in vbox


Ignore:
Timestamp:
Jun 22, 2016 9:24:35 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108241
Message:

webutils.py: pylint 1.5.5 fixes

File:
1 edited

Legend:

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

    r56762 r61834  
    3535import unittest;
    3636
    37 # Validation Kit imports.
    38 from common import utils;
    39 
    4037# Python 3 hacks:
    4138if sys.version_info[0] < 3:
    42     from urllib         import urlopen      as urllib_urlopen;
    4339    from urllib2        import quote        as urllib_quote;
    4440    from urllib         import urlencode    as urllib_urlencode;
     41    from urllib         import urlopen      as urllib_urlopen;
    4542else:
    4643    from urllib.parse   import quote        as urllib_quote;        # pylint: disable=F0401,E0611
    4744    from urllib.parse   import urlencode    as urllib_urlencode;    # pylint: disable=F0401,E0611
    4845    from urllib.request import urlopen      as urllib_urlopen;      # pylint: disable=F0401,E0611
     46
     47# Validation Kit imports.
     48from common import utils;
    4949
    5050
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