aboutsummaryrefslogtreecommitdiff
path: root/devscripts
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-29 02:34:12 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-29 02:41:27 +0600
commit89924f8230987f9d6405d6487a7914197d42b12e (patch)
tree5949a8cc7ab92db143f0dd74d2c80c7f03565c83 /devscripts
parenta39c68f7e5a83d6bb3b1c4eb7f856b764a5488bf (diff)
[devscripts/make_issue_template] Fix NameError under python3
Diffstat (limited to 'devscripts')
-rw-r--r--devscripts/make_issue_template.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/devscripts/make_issue_template.py b/devscripts/make_issue_template.py
index e5564bac1..eed4b3a00 100644
--- a/devscripts/make_issue_template.py
+++ b/devscripts/make_issue_template.py
@@ -16,6 +16,8 @@ def main():
with io.open(infile, encoding='utf-8') as inf:
issue_template_tmpl = inf.read()
+ __version__ = None
+
# Get the version from youtube_dl/version.py without importing the package
exec(compile(open('youtube_dl/version.py').read(),
'youtube_dl/version.py', 'exec'))