projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[thisoldhouse] Update test
[youtube-dl]
/
devscripts
/
fish-completion.py
diff --git
a/devscripts/fish-completion.py
b/devscripts/fish-completion.py
index c2f2387980d0867adc3cea4c3e14047fdaf1aa28..51d19dd33d3bf5c05fc86f3c63e23c00871fda90 100755
(executable)
--- a/
devscripts/fish-completion.py
+++ b/
devscripts/fish-completion.py
@@
-6,7
+6,7
@@
import os
from os.path import dirname as dirn
import sys
from os.path import dirname as dirn
import sys
-sys.path.
append(
dirn(dirn((os.path.abspath(__file__)))))
+sys.path.
insert(0,
dirn(dirn((os.path.abspath(__file__)))))
import youtube_dl
from youtube_dl.utils import shell_quote
import youtube_dl
from youtube_dl.utils import shell_quote
@@
-44,5
+44,6
@@
def build_completion(opt_parser):
with open(FISH_COMPLETION_FILE, 'w') as f:
f.write(filled_template)
with open(FISH_COMPLETION_FILE, 'w') as f:
f.write(filled_template)
+
parser = youtube_dl.parseOpts()[0]
build_completion(parser)
parser = youtube_dl.parseOpts()[0]
build_completion(parser)