@@ -107,7 +107,7 @@ def __direction_negotiate(self, event_obj, can_visit_parent):
107
107
if direction == DIR_PARENT :
108
108
if can_visit_parent :
109
109
# We're done.
110
- self ._log_verbose ("Navigate to parent as final destination" )
110
+ self ._log_debug ("Navigate to parent as final destination" )
111
111
return self ._fire_negotiation_target (self .parent_cid , event_obj )
112
112
113
113
if dest_type == PORTAL_TYPE :
@@ -120,7 +120,7 @@ def __direction_negotiate(self, event_obj, can_visit_parent):
120
120
121
121
# The parent can't be visited, and the destination isn't supposed to be a portal.
122
122
# So we're the target.`
123
- self ._log_verbose ("Navigate to self, as the parent, as the final destination" )
123
+ self ._log_debug ("Navigate to self, as the parent, as the final destination" )
124
124
return self ._fire_negotiation_target (self .cid , event_obj )
125
125
126
126
if direction not in _ORIENT_DIRS [self .__layout_config .orientation ]:
@@ -132,10 +132,10 @@ def __direction_negotiate(self, event_obj, can_visit_parent):
132
132
# Just end it already
133
133
if dest_type == PORTAL_TYPE :
134
134
# redirect to origin
135
- self ._log_verbose ("Redirect to origin from the bad direction" )
135
+ self ._log_debug ("Redirect to origin from the bad direction" )
136
136
self ._fire_negotiation_target (origin_cid , event_obj )
137
137
# just use self
138
- self ._log_verbose ("Redirect to self from the bad direction" )
138
+ self ._log_debug ("Redirect to self from the bad direction" )
139
139
return self ._fire_negotiation_target (self .cid , event_obj )
140
140
141
141
index_change = _ORIENT_DIRS [self .__layout_config .orientation ][direction ]
@@ -145,7 +145,7 @@ def __direction_negotiate(self, event_obj, can_visit_parent):
145
145
# Determine if we can handle this direction, based on our orientation.
146
146
if _MOVE_PARENT_DIR == index_change :
147
147
# move to the parent
148
- self ._log_verbose ("Cannot move in direction for this split, telling parent to handle it" )
148
+ self ._log_debug ("Cannot move in direction for this split, telling parent to handle it" )
149
149
return self ._fire_negotiation_discover (event_obj )
150
150
151
151
# We came from a child, so discover the child's index.
@@ -159,15 +159,15 @@ def __direction_negotiate(self, event_obj, can_visit_parent):
159
159
# Just end it already
160
160
if dest_type == PORTAL_TYPE :
161
161
# redirect to origin
162
- self ._log_verbose ("Split with no children cannot redirect to a child portal," +
163
- " so pushing back to origin" )
162
+ self ._log_debug ("Split with no children cannot redirect to a child portal," +
163
+ " so pushing back to origin" )
164
164
self ._fire_negotiation_target (origin_cid , event_obj )
165
165
# just use self
166
- self ._log_verbose ("Split with no children cannot go deeper, so using self as target." )
166
+ self ._log_debug ("Split with no children cannot go deeper, so using self as target." )
167
167
return self ._fire_negotiation_target (self .cid , event_obj )
168
168
169
169
# just choose something
170
- self ._log_verbose ("Split can't find previous child cid as a child, so just choosing one." )
170
+ self ._log_debug ("Split can't find previous child cid as a child, so just choosing one." )
171
171
source_pos = 0
172
172
173
173
# Rotate through the children indices.
@@ -182,7 +182,7 @@ def __direction_negotiate(self, event_obj, can_visit_parent):
182
182
return self ._fire_negotiation_discover (event_obj , False )
183
183
184
184
# Go down into the children
185
- self ._log_verbose ("Redirecting movement to the next child index {0}" .format (next_pos ))
185
+ self ._log_debug ("Redirecting movement to the next child index {0}" .format (next_pos ))
186
186
self ._fire_negotiation_descend (child_cids [next_pos ], event_obj )
187
187
188
188
def _fire_negotiation_target (self , target_cid , event_obj ):
0 commit comments