[devscripts/make_issue_template] Fix NameError under python3
authorSergey M․ <dstftw@gmail.com>
Mon, 28 Mar 2016 20:34:12 +0000 (02:34 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 28 Mar 2016 20:41:27 +0000 (02:41 +0600)
devscripts/make_issue_template.py

index e5564bac1e111fa5b7c07f50f2836761000b691f..eed4b3a0069ef0f5ebe68da33492f34eb6dcdd6c 100644 (file)
@@ -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'))