Another attempt to fix fish on travis

This commit is contained in:
ZyX 2014-01-23 07:45:35 +04:00
parent 2f98276ee0
commit 6004403947
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ user = os.environ['USER']
with codecs.open(fname, 'r', encoding='utf-8') as R:
with codecs.open(new_fname, 'w', encoding='utf-8') as W:
found_cd = False
for line in R:
for line in (R if shell != 'fish' else R.read().split('\n')):
if not found_cd:
found_cd = ('cd tests/shell/3rd' in line)
continue