@@ -142,7 +142,6 @@ def build(self, session=None):
142142 p = p
143143
144144 if 'layout' in wconf :
145- logger .error (wconf ['layout' ])
146145 w .select_layout (wconf ['layout' ])
147146
148147 def iter_create_windows (self , s ):
@@ -208,7 +207,6 @@ def iter_create_panes(self, w, wconf):
208207 assert (isinstance (p , Pane ))
209208
210209 if 'layout' in wconf :
211- logger .error (wconf ['layout' ])
212210 w .select_layout (wconf ['layout' ])
213211
214212 for cmd in pconf ['shell_command' ]:
@@ -234,8 +232,6 @@ def freeze(session):
234232 wconf ['window_name' ] = w .get ('window_name' )
235233 wconf ['layout' ] = w .get ('window_layout' )
236234 wconf ['panes' ] = []
237- logger .error (w )
238- logger .error (dict (w ))
239235
240236 if all (w .panes [0 ].get ('pane_current_path' ) == p .get ('pane_current_path' ) for p in w .panes ):
241237 wconf ['shell_command_before' ] = w .panes [0 ].get ('pane_current_path' )
@@ -244,14 +240,13 @@ def freeze(session):
244240 pconf = {}
245241 pconf ['shell_command' ] = []
246242 if 'shell_command_before' not in wconf :
247- pconf ['shell_command' ].append ('cd ' + p .get ('pane_current_path' ))
243+ pconf ['shell_command' ].append (
244+ 'cd ' + p .get ('pane_current_path' ))
248245 pconf ['shell_command' ].append (p .get ('pane_current_command' ))
249246 wconf ['panes' ].append (pconf )
250- logger .error (p )
251- logger .error (dict (p ))
252-
247+ # logger.error(p)
248+ # logger.error(dict(p))
253249
254250 sconf ['windows' ].append (wconf )
255251
256252 return sconf
257-
0 commit comments