Searched defs:format (Results 1 - 2 of 2) sorted by relevance

/pkg/src/modules/lint/
H A Dlog.py128 _("{value} is not a valid level").format(
142 self.format(LintMessage(message, level=DEBUG, msgid=msgid),
146 self.format(LintMessage(message, level=INFO, msgid=msgid),
150 self.format(LintMessage(message, level=WARNING, msgid=msgid),
154 self.format(LintMessage(message, level=ERROR, msgid=msgid),
158 self.format(LintMessage(message, level=CRITICAL, msgid=msgid),
165 def format(self, message): member in class:LogFormatter
166 """Given a LintMessage message, format that object
191 def format(self, msg, ignore_linted=False): member in class:PlainLogFormatter
203 key = "{0} {1}".format(LEVEL
[all...]
/pkg/src/tests/api/
H A Dt_pkglint.py56 pkglintrcfile = "{0}/usr/share/lib/pkg/pkglintrc".format(pkg5unittest.g_pkg_path)
2245 def format(self, msg, ignore_linted=False): member in class:TestLogFormatter
2252 self.messages.append("{0}\t{1}".format(
2253 "pkglint001.6", "Logging error: {0}".format(err)))
2258 "Linted message: {id} {msg}").format(
2260 self.messages.append("{0}\t{1}".format(
2266 self.messages.append("{0}\t{1}".format(
2283 self.debug("running lint checks on {0}".format(manifest))
2302 "Checker exception thrown for {0}: {1}".format(
2310 "Expected {0} failures for {1}, got {2}: {3}".format(
[all...]

Completed in 16 milliseconds