Commit 789fd433 authored by Robin Obůrka's avatar Robin Obůrka Committed by Robin Obůrka

msgloop: Rename user data to ctx

I really don't want to write self.context.variable as a programmer.
parent 518abee7
......@@ -36,7 +36,7 @@ class SNBox():
# User data
# Data generated by setup function are placed into separate variable
# Final box shouldn't use "self" - we want to isolate its values
self.context = None
self.ctx = None
# Core methods - Will be implemented in non-abstract boxes
def check_configuration(self):
......@@ -68,7 +68,7 @@ class SNBox():
self.context = self.get_user_data()
self.ctx = self.get_user_data()"SNBox starting loop for %s box",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment