mirror of
https://github.com/powerline/powerline.git
synced 2025-07-10 07:25:02 +02:00
Another attempt to fix fish on travis
This commit is contained in:
parent
2f98276ee0
commit
6004403947
@ -22,7 +22,7 @@ user = os.environ['USER']
|
|||||||
with codecs.open(fname, 'r', encoding='utf-8') as R:
|
with codecs.open(fname, 'r', encoding='utf-8') as R:
|
||||||
with codecs.open(new_fname, 'w', encoding='utf-8') as W:
|
with codecs.open(new_fname, 'w', encoding='utf-8') as W:
|
||||||
found_cd = False
|
found_cd = False
|
||||||
for line in R:
|
for line in (R if shell != 'fish' else R.read().split('\n')):
|
||||||
if not found_cd:
|
if not found_cd:
|
||||||
found_cd = ('cd tests/shell/3rd' in line)
|
found_cd = ('cd tests/shell/3rd' in line)
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user