Searched defs:force_str (Results 1 - 11 of 11) sorted by relevance

/pkg/src/modules/flavor/
H A Dscript.py34 from pkg.misc import force_str namespace
74 l = force_str(f.readline())
H A Dpython.py35 from pkg.misc import force_str namespace
300 out = force_str(out)
/pkg/src/modules/client/
H A Dprintengine.py41 from pkg.misc import PipeError, force_str namespace
118 self._out_file.write(self.__putp_re.sub("", force_str(string)))
/pkg/src/modules/client/transport/
H A Dfileobj.py31 from pkg.misc import DummyLock, force_str namespace
147 return force_str(curdata[:newline])
158 return force_str(curdata[:newline])
160 return force_str(curdata)
168 return force_str(curdata[:newline])
171 return force_str(curdata[:size])
186 return force_str(curdata[:newline])
189 return force_str(curdata[:size])
191 return force_str(curdata)
400 self.__headers[force_str(
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_history.py42 from pkg.misc import force_str namespace
585 locale_list = [force_str(i.rstrip()) for i in lines]
/pkg/src/util/apache2/sysrepo/
H A Dsysrepo_p5p.py35 from pkg.misc import force_str namespace
/pkg/src/modules/
H A Dp5p.py49 from pkg.misc import force_bytes, force_str namespace
192 yield force_str(name), long(offset)
847 m.set_content(content=force_str(fobj.read()),
1152 m.set_content(content=force_str(fobj.read()), signatures=True)
H A Dpipeutils.py103 from pkg.misc import force_bytes, force_str namespace
253 mf.write(force_str(msg))
H A Dquery_parser.py45 from pkg.misc import EmptyI, force_str namespace
853 self._case_sensitive), force_str(l))
856 if self.filter_res(force_str(l))
964 (fmri.PkgFmri(pfmri), fv, force_str(l)))
H A Dmisc.py1226 t = time.strptime(force_str(nb), "%Y%m%d%H%M%SZ")
1238 t = time.strptime(force_str(na), "%Y%m%d%H%M%SZ")
1253 return force_str(hexlify(s))
2466 k = force_str(k)
2468 v= force_str(v)
3030 # force_str minimizes the work for compatible string handling between Python
3034 force_str = force_bytes variable
3036 force_str = force_text variable
/pkg/src/tests/api/
H A Dt_api_search.py46 from pkg.misc import force_str namespace
1398 err = force_str(e.read())

Completed in 46 milliseconds