[PATCH] Add some deprecation-related false positives.
Brian C. Lane
bcl at redhat.com
Thu Mar 26 22:46:16 UTC 2015
On Thu, Mar 26, 2015 at 02:22:39PM -0400, Chris Lumens wrote:
> glib and pygobject and now spewing g-i related deprecation messages at us
> for unknown reasons. While we investigate and come up with a fix, put them
> on the false positive list so tests continue to pass.
> ---
> tests/pylint/pylint-false-positives | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/pylint/pylint-false-positives b/tests/pylint/pylint-false-positives
> index ef96849..03b7ccb 100644
> --- a/tests/pylint/pylint-false-positives
> +++ b/tests/pylint/pylint-false-positives
> @@ -3,5 +3,8 @@
> ^E0611:[ 0-9]*,[0-9]*: No name '_isys' in module 'pyanaconda'$
> ^E0611:[ 0-9]*,[0-9]*:.*: No name '_isys' in module 'pyanaconda'$
> ^E0712:[ 0-9]*,[0-9]*:.*: Catching an exception which doesn't inherit from BaseException: GError$
> +PyGIDeprecationWarning: GLib\..* is deprecated
> +PyGIDeprecationWarning: GObject\..* is deprecated
> +obj = getattr\(parent, name\)$
> gi/module.py:[0-9]*: Warning: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed$
> -^ g_type = info\.get_g_type\(\)$
> +^ g_type = info\.get_g_type\(\)$
> \ No newline at end of file
> --
> 2.2.2
Ack
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list