You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:34:30 UTC

[buildstream] 09/10: fixup! node.pyx: Make 'strip_node_info' public

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch bschubert/more-mypy
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 4d84b8fb66fa0e73c09e1bd5336dd5acd7495976
Author: Benjamin Schubert <co...@benschubert.me>
AuthorDate: Tue Oct 15 14:56:49 2019 +0100

    fixup! node.pyx: Make 'strip_node_info' public
---
 src/buildstream/source.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index f4b6826..d7f4845 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -918,8 +918,8 @@ class Source(Plugin):
         # Step 2 - Set the ref in memory, and determine changed state
         #
         # TODO: we are working on dictionaries here, would be nicer to just work on the nodes themselves
-        clean = node._strip_node_info()
-        to_modify = node._strip_node_info()
+        clean = node.strip_node_info()
+        to_modify = node.strip_node_info()
 
         current_ref = self.get_ref()  # pylint: disable=assignment-from-no-return