Skip to content

Commit 4ec48d1

Browse files
committed
python3, geez!
1 parent e6e3a63 commit 4ec48d1

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

bundle_list

+1
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ https://github.com/junegunn/fzf.vim.git
4242
https://github.com/chriskempson/base16-vim.git
4343

4444
https://github.com/posva/vim-vue.git
45+
https://github.com/mileszs/ack.vim.git

install.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
def removefile(filename):
1919
removing_link = "%s/.%s" % (HOME_PATH, filename)
2020
ret = subprocess.call(["rm", "-rf", removing_link])
21-
print "%s is the status code for removing %s" % (ret, removing_link)
21+
print(f"ret is the status code for removing removing_link")
2222

2323
return
2424

@@ -28,9 +28,7 @@ def linkfile(filename):
2828
is_located = "%s" % (os.path.abspath(filename))
2929

3030
ret = subprocess.call(["ln", "-s", is_located, link_location])
31-
print "%s is the status code for linking %s to %s" % (ret,
32-
is_located,
33-
link_location)
31+
print("ret is the status code for linking is_located to link_location")
3432
return
3533

3634

@@ -71,9 +69,9 @@ def fix_xmledit():
7169
html = os.path.join(xmledit_path, 'html.vim')
7270
mako = os.path.join(xmledit_path, 'mako.vim')
7371

74-
print xml
75-
print html
76-
print mako
72+
print(xml)
73+
print(html)
74+
print(mako)
7775
subprocess.call('ln -s {0} {1}'.format(xml, html), shell=True)
7876
subprocess.call('ln -s {0} {1}'.format(xml, mako), shell=True)
7977

0 commit comments

Comments
 (0)