Commits

abudden  committed 71733bc

Corrected misnamed variable (thanks to Andrew Richardson for reporting).

  • Participants
  • Parent commits 506ef8f

Comments (0)

Files changed (1)

File plugin/TagHighlight/module/generation.py

         # The resulting file will then work with any Vim (Windows, Linux, Cygwin etc)
         fh = open(filename, 'wb')
     except IOError:
-        Debug("ERROR: Couldn't create {file}\n".format(file=outfile), "Error")
+        Debug("ERROR: Couldn't create {file}\n".format(file=filename), "Error")
         sys.exit(1)
 
     try:
             if source_file is not None and not options['IgnoreFileScope']:
                 write(fh, 'endif\n')
     except IOError:
-        Debug("ERROR: Couldn't write {file} contents\n".format(file=outfile), "Error")
+        Debug("ERROR: Couldn't write {file} contents\n".format(file=filename), "Error")
         sys.exit(1)
     finally:
         fh.close()