@@ -142,7 +142,6 @@ def build(self, session=None):
142
142
p = p
143
143
144
144
if 'layout' in wconf :
145
- logger .error (wconf ['layout' ])
146
145
w .select_layout (wconf ['layout' ])
147
146
148
147
def iter_create_windows (self , s ):
@@ -208,7 +207,6 @@ def iter_create_panes(self, w, wconf):
208
207
assert (isinstance (p , Pane ))
209
208
210
209
if 'layout' in wconf :
211
- logger .error (wconf ['layout' ])
212
210
w .select_layout (wconf ['layout' ])
213
211
214
212
for cmd in pconf ['shell_command' ]:
@@ -234,8 +232,6 @@ def freeze(session):
234
232
wconf ['window_name' ] = w .get ('window_name' )
235
233
wconf ['layout' ] = w .get ('window_layout' )
236
234
wconf ['panes' ] = []
237
- logger .error (w )
238
- logger .error (dict (w ))
239
235
240
236
if all (w .panes [0 ].get ('pane_current_path' ) == p .get ('pane_current_path' ) for p in w .panes ):
241
237
wconf ['shell_command_before' ] = w .panes [0 ].get ('pane_current_path' )
@@ -244,14 +240,13 @@ def freeze(session):
244
240
pconf = {}
245
241
pconf ['shell_command' ] = []
246
242
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' ))
248
245
pconf ['shell_command' ].append (p .get ('pane_current_command' ))
249
246
wconf ['panes' ].append (pconf )
250
- logger .error (p )
251
- logger .error (dict (p ))
252
-
247
+ # logger.error(p)
248
+ # logger.error(dict(p))
253
249
254
250
sconf ['windows' ].append (wconf )
255
251
256
252
return sconf
257
-
0 commit comments