Re: [PATCH 6/8] doc: kfigure.py: convert to sphinx.util.logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 06/02/2024 09:57, Jani Nikula wrote:
On Mon, 05 Feb 2024, Vegard Nossum <vegard.nossum@xxxxxxxxxx> wrote:
-            kernellog.verbose(app,
+            logger.warning(
                  "Neither inkscape(1) nor convert(1) found.\n"
                  "For SVG to PDF conversion, "
                  "install either Inkscape (https://inkscape.org/) (preferred) or\n"
                  "ImageMagick (https://www.imagemagick.org)")

These could be converted to use """:

"""Neither inkscape(1) nor convert(1) found.
For SVG to PDF conversion,
install either Inkscape (https://inkscape.org/) (preferred) or
ImageMagick (https://www.imagemagick.org)"
"""

That would mean the lines could not be indented, causing a (to me)
somewhat strange-looking block:

            logger.verbose("""Neither inkscape(1) nor convert(1) found.
For SVG to PDF conversion, install either Inkscape (https://inkscape.org/) (preferred) or
ImageMagick (https://www.imagemagick.org)""")

Is that preferred?


Vegard




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux