[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190619133739.44f92409@coco.lan>
Date:   Wed, 19 Jun 2019 13:37:39 -0300
From:   Mauro Carvalho Chehab <mchehab+samsung@...nel.org>
To:     Jani Nikula <jani.nikula@...ux.intel.com>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Linux Doc Mailing List <linux-doc@...r.kernel.org>,
        Mauro Carvalho Chehab <mchehab@...pensource.com>,
        Mauro Carvalho Chehab <mchehab@...radead.org>,
        linux-kernel@...r.kernel.org, Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH 12/14] doc-rst: add ABI documentation to the admin-guide
 book
Em Tue, 18 Jun 2019 11:47:32 +0300
Jani Nikula <jani.nikula@...ux.intel.com> escreveu:
> On Mon, 17 Jun 2019, Mauro Carvalho Chehab <mchehab+samsung@...nel.org> wrote:
> > Yeah, I guess it should be possible to do that. How a python script
> > can identify if it was called by Sphinx, or if it was called directly?  
> 
> if __name__ == '__main__':
> 	# run on the command-line, not imported
Ok, when I have some spare time, I may try to convert one script
to python and see how it behaves. 
Thanks,
Mauro
Powered by blists - more mailing lists