summaryrefslogtreecommitdiff
path: root/buildstream/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/plugin.py')
-rw-r--r--buildstream/plugin.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/buildstream/plugin.py b/buildstream/plugin.py
index abbed7dca..56bee90c1 100644
--- a/buildstream/plugin.py
+++ b/buildstream/plugin.py
@@ -184,14 +184,6 @@ class Plugin():
"""
return self.__context
- def get_project(self):
- """Fetches the project
-
- Returns:
- (object): The :class:`.Project`
- """
- return self.__project
-
def node_items(self, node):
"""Iterate over a dictionary loaded from YAML
@@ -570,6 +562,13 @@ class Plugin():
# Private Methods used in BuildStream #
#############################################################
+ # _get_project()
+ #
+ # Fetches the project object associated with this plugin
+ #
+ def _get_project(self):
+ return self.__project
+
# _get_unique_id():
#
# Fetch the plugin's unique identifier