mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Do not reuse existing socket paths
This commit is contained in:
parent
e19feb9472
commit
b93ae8e8a2
@ -94,6 +94,8 @@ def get_expected_result(tmux_version,
|
||||
def main(attempts=3):
|
||||
vterm_path = os.path.join(VTERM_TEST_DIR, 'path')
|
||||
socket_path = os.path.abspath('tmux-socket-{0}'.format(attempts))
|
||||
while os.path.exists(socket_path):
|
||||
socket_path = socket_path + 'x'
|
||||
rows = 50
|
||||
cols = 200
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user