Searched refs:six (Results 1 - 25 of 146) sorted by relevance

123456

/pkg/src/modules/lint/
H A Dconfig.py31 import six namespace
34 from six.moves import configparser
73 if six.PY2:
82 if six.PY2:
H A Dbase.py29 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 Dsha512_t.py28 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 Dsyscallat.py29 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 Dmediator.py26 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 Dpspawn.py29 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 Dsmf.py30 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 Dsysattr.py29 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 Dconfig.py57 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 Dp5i.py30 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 Dpkgsubprocess.py29 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 Dfacet.py31 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 Dconfig.py28 from six.moves import configparser
/pkg/src/tests/api/
H A Dt_printengine.py34 import six namespace
43 sio = six.StringIO()
77 f = six.StringIO()
89 sio = six.StringIO()
95 sio = six.StringIO()
H A Dt_client.py34 import six namespace
54 info_out = six.StringIO()
55 error_out = six.StringIO()
H A Dt_sha512_t.py34 import six namespace
36 from six.moves import range
142 if six.PY2:
H A Dt_progress.py33 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 Ddebugvalues.py27 import six namespace
45 class DebugValues(six.with_metaclass(Singleton, dict)):
H A Dfirmware.py28 import six namespace
59 for k, v in sorted(six.iteritems(dep_action.attrs))
/pkg/src/modules/portable/
H A Dos_sunos.py32 import six namespace
68 if isinstance(file_out, bytes) and six.PY3:
/pkg/src/tests/
H A Dpkg5testenv.py27 import six namespace
112 if six.PY3:
/pkg/src/tests/cli/
H A Dt_publish_api.py33 from six.moves.urllib.parse import urlunparse
34 from six.moves.urllib.request import pathname2url
H A Dt_util_merge.py42 from six.moves.urllib.parse import urlparse
43 from six.moves.urllib.request import url2pathname
/pkg/src/modules/actions/
H A Dattribute.py36 import six namespace
88 assert isinstance(v, six.string_types)
H A Dlink.py34 import six namespace
120 for k, v in six.iteritems(self.attrs)

Completed in 60 milliseconds

123456