~hopem/charm-helpers/fix-precise-haproxy-ipv6

« back to all changes in this revision

Viewing changes to tests/core/test_sysctl.py

  • Committer: Stuart Bishop
  • Date: 2014-11-25 16:06:34 UTC
  • mfrom: (158.2.46 fix-configure_sources)
  • Revision ID: stuart@stuartbishop.net-20141125160634-wo9uarwrv20ew23y
[stub, r=niedbalski,tvansteenburgh] The Return of Python 3 Support

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
import tempfile
11
11
 
12
12
import six
13
 
if six.PY2:
 
13
if not six.PY3:
14
14
    builtin_open = '__builtin__.open'
15
15
else:
16
16
    builtin_open = 'builtins.open'