forked from pool/cloud-init
Robert Schweikert
fb31094f97
+ Add cloud-init-skip-ovf-tests.patch + Add cloud-init-no-python-linux-dist.patch + Add 0001-switch-to-using-iproute2-tools.patch + Add 0001-Support-chrony-configuration-lp-1731619.patch + Add 0002-Disable-method-deprecation-warning-for-pylint.patch + Add 0003-Distro-dependent-chrony-config-file.patch + removed cloud-init-add-variant-cloudcfg.patch replaced by cloud-init-no-python-linux-dist.patch + removed zypp_add_repos.diff included upstream + removed zypp_add_repo_test.patch included upstream + removed cloud-init-hosts-template.patch included upstream + removed cloud-init-more-tasks.patch included upstream + removed cloud-init-final-no-apt.patch included upstream + removed cloud-init-ntp-conf-suse.patch included upstream + removed cloud-init-break-cycle-local-service.patch included upstream + removed cloud-init-reproduce-build.patch included upstream + For the complete changelog see https://launchpad.net/cloud-init/trunk/17.2 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=105
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
|
|
|