]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/tex_copy.py
Remove profiling.py
[lyx.git] / lib / scripts / tex_copy.py
index 1ec9e9216bf01a7b256ab5333563e8193b68df7d..dac153a90685d91f9829b84448f7fb6256d02c0d 100644 (file)
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
 # file tex_copy.py
 # This file is part of LyX, the document processor.
 # Licence details can be found in the file COPYING.
@@ -46,7 +44,6 @@ def main(argv):
         error("%s is no absolute file name.\n%s"\
               % abs_to_file, usage(argv[0]))
     to_dir, rel_to_file = os.path.split(abs_to_file)
-    to_base, to_ext = os.path.splitext(rel_to_file)
 
     # latex file name
     latex_file = argv[3]