aboutsummaryrefslogtreecommitdiffstats
path: root/example_plugins/example.py
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-03-24 16:18:39 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-04-07 16:43:36 -0400
commit71428ba1bc664feedbb41ea3d4a5b44a5a096dac (patch)
tree36eb1f76aab369cdc57a1bc7016a0d911b41ef44 /example_plugins/example.py
parentdfcabc689e0e5fdc40c6ecf3df2c92b3e4a8bdd1 (diff)
downloadsos-71428ba1bc664feedbb41ea3d4a5b44a5a096dac.tar.gz
[global] Fix report import paths
Updates the uses of 'from sos.plugins' to 'from sos.report.plugins' in order to fix imports across the project with the new tree organization. Additionally, the legacy `sosreport` binary now injects the user's current working directory into the path the python interpreter uses in order to allow local execution from a git checkout. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'example_plugins/example.py')
-rwxr-xr-xexample_plugins/example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example_plugins/example.py b/example_plugins/example.py
index ac4bc790..0f6ece47 100755
--- a/example_plugins/example.py
+++ b/example_plugins/example.py
@@ -6,7 +6,7 @@
#
# See the LICENSE file in the source distribution for further information.
-from sos.plugins import Plugin, RedHatPlugin
+from sos.report.plugins import Plugin, RedHatPlugin
# the class name determines the plugin name
# if you want to override it simply provide a @classmethod name()