Skip to content

Commit

Permalink
__bass.py changed to py3
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnphm committed May 19, 2015
1 parent 4937147 commit 1831b14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .config/fish/functions/__bass.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def gen_script():
with os.fdopen(fd, 'w') as f:
for line in stdout.splitlines():
f.write("printf '%s\\n'\n" % line)
for k, v in new_env.items():
for k, v in list(new_env.items()):
if k in skips:
continue
v1 = old_env.get(k)
Expand All @@ -55,6 +55,6 @@ def gen_script():
name = gen_script()
except Exception as e:
sys.stderr.write(str(e) + '\n')
print '__error'
print('__error')
else:
print name
print(name)

0 comments on commit 1831b14

Please sign in to comment.