Skip to content

Commit f174459

Browse files
committed
Server.kill_session needs no target
1 parent f56521d commit f174459

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tmuxp/session.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,10 @@ def attach_session(self, target_session=None):
7878
if proc.stderr:
7979
raise Exception(proc.stderr)
8080

81-
def kill_session(self, target_session=None):
81+
def kill_session(self):
8282
'''
8383
``$ tmux kill-session``
8484
85-
:param: target_session: str. note this accepts fnmatch(3). 'asdf' will
86-
kill asdfasd
8785
'''
8886
proc = self.tmux('kill-session', '-t%s' % self.get('session_id'))
8987

0 commit comments

Comments
 (0)