forked from pool/cloud-init
28 lines
826 B
Diff
28 lines
826 B
Diff
|
From d94392bb6e54a6860c8b6ea7967e853d8e263d7a Mon Sep 17 00:00:00 2001
|
||
|
From: Robert Schweikert <rjschwei@suse.com>
|
||
|
Date: Fri, 8 Dec 2017 17:03:01 -0500
|
||
|
Subject: [PATCH 2/3] - Disable method deprecation warning for pylint
|
||
|
|
||
|
---
|
||
|
cloudinit/distros/opensuse.py | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/cloudinit/distros/opensuse.py b/cloudinit/distros/opensuse.py
|
||
|
index 092d6a11..86318eae 100644
|
||
|
--- a/cloudinit/distros/opensuse.py
|
||
|
+++ b/cloudinit/distros/opensuse.py
|
||
|
@@ -8,6 +8,10 @@
|
||
|
#
|
||
|
# This file is part of cloud-init. See LICENSE file for license information.
|
||
|
|
||
|
+# pylint: disable=W1505
|
||
|
+# platform.linux_distribution is deprecated (W1505) we need to decide if
|
||
|
+# cloud-init will implement it's own or add a new dependency on the
|
||
|
+# distro module
|
||
|
import platform
|
||
|
|
||
|
from cloudinit import distros
|
||
|
--
|
||
|
2.13.6
|
||
|
|