Searched refs:msg (Results 1 - 25 of 46) sorted by relevance

12

/pkg/src/modules/bundle/
H A D__init__.py53 msg = []
55 msg.append("UID {uid} is not associated with a user "
58 msg.append("GID {gid} is not associated with a group "
60 self.msg = '\n'.join(msg)
63 return self.msg
/pkg/src/util/log-scripts/
H A Dan_report.py153 msg = """\
158 print(msg)
160 print(msg, file=summary_file)
163 msg = """</div> <!--end class=section-->"""
164 print(msg)
166 print(msg, file=summary_file)
170 msg = """<div class="colwrapper">"""
171 print(msg)
173 print(msg, file=summary_file)
176 msg
[all...]
H A Dan2_ip_active.py63 msg = """\
76 msg += """\
80 print(msg)
82 print(msg, file=summary_file)
/pkg/src/modules/lint/
H A Dlog.py54 msg = "" variable in class:LintMessage
55 def __init__(self, msg, level=INFO, producer="unknown", msgid=None):
56 self.msg = msg
62 return str(self.msg)
191 def format(self, msg, ignore_linted=False):
193 if not isinstance(msg, LintMessage):
194 self.logger.warning(msg)
198 if msg.level >= self._level:
199 if not msg
[all...]
/pkg/src/modules/publish/
H A Dtransaction.py87 return _("Invalid repository URL: '{url}': {msg}").format(
88 url=self.data, msg=self._args.get("msg", ""))
101 "{msg}").format(op=self.data,
104 msg=self._args.get("msg", ""))
107 "'{trans_id}': {msg}").format(op=self.data,
109 msg=self._args.get("msg", ""),
113 "transaction:\n{msg}")
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_help.py45 def verify_help(msg, expected, unexpected=[]):
51 if str not in msg:
53 str, msg))
55 if str in msg:
57 str, msg))
H A Dt_pkgfmt.py1332 msg="{0} format".format(pfmt))
1341 msg="{0} format".format(pfmt))
H A Dt_pkg_avoid.py137 msg="avoids")
139 msg="implicit avoids")
141 msg="obsolete avoids")
/pkg/src/modules/
H A Dpipeutils.py153 def debug_msg(self, op, msg=None):
154 """If debugging is enabled display msg."""
158 if msg is not None:
159 msg = ": {0}".format(msg)
161 msg = ""
170 label, op, type(self).__name__, self.__pipefd, msg),
180 msg = "fd={0:d}".format(fd)
183 msg = "".join(os.fdopen(os.dup(fd)).readlines())
184 msg
[all...]
H A Dmogrify.py124 msg = None
135 msg = args[1]
138 if msg:
139 newmsg = substitute_values(msg, action,
291 msg = ""
293 msg = op[1]
296 newmsg = substitute_values(msg, action, matches,
310 msg = ""
312 msg = op[1]
315 newmsg = substitute_values(msg, actio
[all...]
/pkg/src/tests/
H A Dbaseline.py103 (err, msg) = xxx_todo_changeme.args
106 self.__filename, msg), file=sys.stderr)
129 (err, msg) = xxx_todo_changeme1.args
132 self.__filename, msg), file=sys.stderr)
/pkg/src/tests/api/
H A Dt_pkglint.py2245 def format(self, msg, ignore_linted=False):
2246 if isinstance(msg, log.LintMessage):
2250 manifest=self.manifest, lint_id=msg.msgid)
2258 "Linted message: {id} {msg}").format(
2259 id=msg.msgid, msg=msg)
2265 if msg.level >= self.level:
2267 msg.msgid, str(msg)))
[all...]
/pkg/src/util/publish/
H A Dpkgsurf.py95 from pkg.misc import emsg, msg, PipeError, CMP_ALL, CMP_UNSIGNED namespace
124 """Remove temporary directories. Print error msg in case operation
186 msg("")
230 msg = _("Packages specified to not be reversioned cannot "
232 msg += "\n\t".join(versions)
233 abort(msg)
238 msg = _("The specified packages were not found in the "
240 msg += "\n\t".join(unmatched)
241 abort(msg)
604 msg("{
[all...]
H A Dpkglint.py59 def msg(message): function
126 msg(_("Lint engine setup..."))
154 msg(_("Starting lint run..."))
190 msg("{0} {1}".format(name.ljust(width), value))
223 msg(_("\nExcluded checks:"))
/pkg/src/modules/actions/
H A D_actions.c123 set_malformederr(const char *str, int pos, const char *msg) argument
127 if ((val = Py_BuildValue("sis", str, pos, msg)) != NULL) {
134 set_invaliderr(const char *str, const char *msg) argument
138 if ((val = Py_BuildValue("ss", str, msg)) != NULL) {
185 #define malformed(msg) set_malformederr(str, i, (msg))
186 #define invalid(msg) set_invaliderr(str, (msg))
/pkg/src/modules/flavor/
H A Ddepthlimitedmf.py197 except ImportError as msg:
198 self.msg(2, "ImportError:", str(msg), fqname,
263 except ImportError as msg:
264 self.msg(2, "ImportError:", str(msg))
283 self.msg(2, "bypassing os.path import - importing os "
287 self.msg(3, "import_hook", name, caller, fromlist, level)
/pkg/src/
H A Dpull.py58 from pkg.misc import emsg, get_pkg_otw_size, msg, PipeError namespace
98 msg(_("""\
224 msg("")
621 msg(_("Retrieving manifests for dependency "
793 msg(_("Retrieving packages for publisher {0} ...").format(
812 msg(_("Retrieving and evaluating {0:d} package(s)...").format(
886 msg(_("\nArchiving packages ..."))
888 msg(_("\nArchiving packages (dry-run) ..."))
898 msg("{0} {1}".format(s[0].rjust(rjust_status),
901 msg(
[all...]
H A Dpkgdep.py45 from pkg.misc import msg, emsg, PipeError namespace
191 msg(l.rstrip())
195 msg(d)
198 msg(actions.attribute.AttributeAction(**{key: value}))
361 msg(_("\nThe following fmris matched a pattern in a "
365 msg("\t{0}".format(pfmri))
367 msg(_("\nThe following fmris had dependencies resolve "
370 msg("\t{0}".format(pfmri))
437 msg("\n\n")
439 msg("# {
[all...]
H A Dclient.py96 from pkg.misc import EmptyI, msg, emsg, PipeError namespace
539 msg(fmt_str.format(
542 msg(fmt_str.format(
546 msg(fmt_str.format(
577 msg(fmt_str.format(pfmri, status))
586 msg(fmt_str.format(pf, summ))
591 msg(fmt_str.format(pf, sver, status))
1164 msg(s)
1184 msg()
1195 msg(
[all...]
H A Dpublish.py54 from pkg.misc import msg, emsg, PipeError namespace
218 msg("export PKG_TRANS_ID={0}".format(t.open()))
220 msg(t.open())
248 msg("export PKG_TRANS_ID={0}".format(t.append()))
250 msg(t.append())
285 msg(val)
436 msg(_("WARNING: Omitting signature action '{0}'".format(
475 msg(val)
H A Dpkgrepo.py71 from pkg.misc import msg, PipeError namespace
144 msg(_("""\
462 msg(_("The default publisher was removed."
468 msg(_("The default publisher was removed."
1167 msg(text)
1525 msg(pkg.VERSION)
1891 msg(text)
2090 msg(_(" ({0:d} pkg(s) with {1:d} "
2105 msg(json.dumps(verbose_res_dict))
2111 msg("")
[all...]
/pkg/src/modules/client/
H A Dplandesc.py587 msg = " facet {0} ({1}): {2}{3} -> {4}{5}".format(
589 rv.append(msg)
906 def __msg_dict2list(msg):
908 return [msg["msg_time"], msg["msg_level"], msg["msg_type"],
909 msg["msg_text"]]
918 for msg in self._item_msgs[item_id]["messages"]:
920 msg["msg_stage"] not in stages):
924 __msg_dict2list(msg))
[all...]
H A Dprogress.py1902 def __generic_start(self, msg):
1907 self._pe.cprint(self._phase_prefix() + msg, end='')
1911 def __generic_done(self, msg=None):
1915 if msg is None:
1916 msg = " " + _("Done")
1917 self._pe.cprint(msg, end='\n')
1920 def __generic_done_item(self, item, msg=None):
1924 if msg is None:
1926 msg = " " + _("Done ({elapsed:>.3f}s)")
1928 msg
[all...]
H A Doptions.py152 raise InvalidOptionError(msg=_("properties to be set "
157 raise InvalidOptionError(msg=_("a property may only "
179 raise InvalidOptionError(msg=_("property values to be "
478 raise InvalidOptionError(msg=_("linked image "
483 raise InvalidOptionError(msg=_("invalid linked "
487 raise InvalidOptionError(msg=_("linked image "
613 raise InvalidOptionError(msg=
680 msg=_("integer argument expected"))
699 raise InvalidOptionError(msg=_("invalid operation stage: "
788 raise InvalidOptionError(msg
[all...]
H A Dapi_errors.py1175 msg = _("The following catalog files have incorrect "
1179 msg += _("\t{fname}: expected mode: {emode}, found "
1182 return msg
1372 s += _("{o}:\n{msg}\n").format(
1373 o=pub, msg=err)
1381 s += _("{o}:\n{msg}\n").format(
1382 o=pub, msg=err)
2175 msg = _("The follwing URIs use unsupported "
2179 msg += _("\n {uri} (scheme: "
2181 return msg
[all...]

Completed in 91 milliseconds

12