[chirp_devel] [PATCH] Supress console spew from python-future warning in non-debug builds
Kosta Arvanitis
Tue Sep 28 22:27:14 PDT 2021
Thanks for fixing that.., do the test/style checks run on windows? Last
time I checked they did not, is there another way to validate as i would be
happy to run the test.
On Tue, Sep 28, 2021 at 5:59 PM Dan Smith via chirp_devel <
chirp_devel at intrepid.danplanet.com> wrote:
> > # HG changeset patch
> > # User Kosta A. <ve7kcy at gmail.com>
> > # Date 1632713960 25200
> > # Sun Sep 26 20:39:20 2021 -0700
> > # Node ID 5aa2294d78ea241c6573dcf1929475b072e73685
> > # Parent 3a40534ccc6e58d9818224eb8182bb62499fac80
> > Supress console spew from python-future warning in non-debug builds.
> >
> > diff --git a/chirp/drivers/anytone778uv.py
> b/chirp/drivers/anytone778uv.py
> > --- a/chirp/drivers/anytone778uv.py
> > +++ b/chirp/drivers/anytone778uv.py
> > @@ -60,7 +60,7 @@
> > has_future = True
> > except ImportError:
> > has_future = False
> > - LOG.warning('python-future package is not '
> > + LOG.debug('python-future package is not '
> > 'available; %s requires it' % __name__)
>
> This will fail the style check because you didn't re-align the continued
> line. I've fixed it for you to apply, but please make sure your patches
> pass the style checks in the future.
>
> --Dan
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20210928/462aacf9/attachment-0001.html
More information about the chirp_devel
mailing list