/pkg/src/modules/lint/ |
H A D | config.py | 31 import six namespace 34 from six.moves import configparser 73 if six.PY2: 82 if six.PY2:
|
H A D | base.py | 29 import six namespace 31 from six.moves import configparser 300 if six.PY2: 408 if isinstance(val, six.string_types): 424 if isinstance(val, six.string_types):
|
/pkg/src/modules/ |
H A D | sha512_t.py | 28 import six namespace 74 if six.PY3 and isinstance(message, str): 76 if not isinstance(message, (six.string_types, bytes)): 78 if isinstance(message, six.text_type): 93 return b"".join(six.int2byte(i) for i in digest)
|
H A D | syscallat.py | 29 import six namespace 39 if not isinstance(path, six.string_types): 54 if not isinstance(path, six.string_types): 72 if not isinstance(old, six.string_types): 76 if not isinstance(new, six.string_types): 89 if not isinstance(path, six.string_types):
|
H A D | mediator.py | 26 import six namespace 36 if isinstance(value, six.string_types): 48 if isinstance(value, six.string_types): 67 if not isinstance(value, six.string_types): 98 if isinstance(value, six.string_types):
|
H A D | pspawn.py | 29 import six namespace 99 if not isinstance(path, six.string_types): 155 if not isinstance(filename, six.string_types): 164 if six.PY3 and isinstance(arg, six.string_types): 173 if six.PY3 and isinstance(arg, six.string_types):
|
H A D | smf.py | 30 import six namespace 37 from six.moves.urllib.parse import urlparse 129 if isinstance(fmris, six.string_types): 191 if isinstance(fmris, six.string_types): 207 if isinstance(fmris, six.string_types): 220 if isinstance(fmris, six.string_types): 229 if isinstance(fmris, six.string_types): 242 if isinstance(fmris, six.string_types):
|
H A D | sysattr.py | 29 import six namespace 53 if not isinstance(filename, six.string_types): 123 if not isinstance(filename, six.string_types): 138 if isinstance(attr, six.string_types):
|
H A D | config.py | 57 import six namespace 63 from six import python_2_unicode_compatible 64 from six.moves import configparser 227 if not isinstance(name, six.string_types) or \ 286 if not isinstance(value, six.string_types): 320 if isinstance(value, six.string_types): 342 if not isinstance(name_pattern, six.string_types) or not name_pattern: 401 if isinstance(value, six.string_types): 406 elif isinstance(value, six.string_types): 449 if isinstance(value, six [all...] |
H A D | p5i.py | 30 from six.moves.urllib.error import HTTPError 31 from six.moves.urllib.parse import urlunparse 32 from six.moves.urllib.request import urlopen, pathname2url
|
H A D | pkgsubprocess.py | 29 import six namespace 54 if six.PY2: 159 for k, v in six.iteritems(env) 278 for k, v in six.iteritems(env)
|
H A D | facet.py | 31 import six namespace 115 for k, v in six.iteritems(obj.__inherited) 118 for k, v in six.iteritems(obj.__local) 444 for k, v in six.iteritems(d.__inherited): 446 for k, v in six.iteritems(d.__local): 528 if six.PY3: 532 if six.PY2:
|
/pkg/src/util/log-scripts/ |
H A D | config.py | 28 from six.moves import configparser
|
/pkg/src/tests/api/ |
H A D | t_printengine.py | 34 import six namespace 43 sio = six.StringIO() 77 f = six.StringIO() 89 sio = six.StringIO() 95 sio = six.StringIO()
|
H A D | t_client.py | 34 import six namespace 54 info_out = six.StringIO() 55 error_out = six.StringIO()
|
H A D | t_sha512_t.py | 34 import six namespace 36 from six.moves import range 142 if six.PY2:
|
H A D | t_progress.py | 33 import six namespace 301 sio_c = six.StringIO() 302 sio_c2 = six.StringIO() 303 sio_f = six.StringIO() 304 sio_d = six.StringIO() 372 f = six.StringIO() 391 sio1 = six.StringIO() 392 sio2 = six.StringIO()
|
/pkg/src/modules/client/ |
H A D | debugvalues.py | 27 import six namespace 45 class DebugValues(six.with_metaclass(Singleton, dict)):
|
H A D | firmware.py | 28 import six namespace 59 for k, v in sorted(six.iteritems(dep_action.attrs))
|
/pkg/src/modules/portable/ |
H A D | os_sunos.py | 32 import six namespace 68 if isinstance(file_out, bytes) and six.PY3:
|
/pkg/src/tests/ |
H A D | pkg5testenv.py | 27 import six namespace 112 if six.PY3:
|
/pkg/src/tests/cli/ |
H A D | t_publish_api.py | 33 from six.moves.urllib.parse import urlunparse 34 from six.moves.urllib.request import pathname2url
|
H A D | t_util_merge.py | 42 from six.moves.urllib.parse import urlparse 43 from six.moves.urllib.request import url2pathname
|
/pkg/src/modules/actions/ |
H A D | attribute.py | 36 import six namespace 88 assert isinstance(v, six.string_types)
|
H A D | link.py | 34 import six namespace 120 for k, v in six.iteritems(self.attrs)
|