]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/ext_copy.py
GuiSearch: make search options visible/accessible in minimal mode
[lyx.git] / lib / scripts / ext_copy.py
index 3022d30139642fd2367b84a9ba27893157a61860..2d4b386b242fdc6ae144a769169a73b2fc19be54 100644 (file)
@@ -4,7 +4,7 @@
 # This file is part of LyX, the document processor.
 # Licence details can be found in the file COPYING.
 
-# author Richard Heck, Alex Fernandez, Uwe Stöhr
+# author Richard Kimberly Heck, Alex Fernandez, Uwe Stöhr
 
 # Full author contact details are available in file CREDITS
 
@@ -30,7 +30,7 @@ from lyxpreview_tools import error
 
 def usage(prog_name):
     msg = "Usage: %s [-d] [-e extensions] [-t target extension] from_file to_file"
-    return  msg % prog_name
+    return msg % prog_name
 
 
 def main(argv):
@@ -53,7 +53,7 @@ def main(argv):
       error(usage(progname))
     abs_from_file = args[0]
     if not os.path.isabs(abs_from_file):
-      error("%s is not an absolute file name.\n%s" % abs_from_file, usage(progname))
+      error("%s is not an absolute file name.\n%s" % (abs_from_file, usage(progname)))
     from_dir = os.path.dirname(abs_from_file)
 
     # output directory
@@ -64,7 +64,7 @@ def main(argv):
       if targext != '.':
         to_dir += "." + targext
       if not os.path.isabs(to_dir):
-        error("%s is not an absolute file name.\n%s" % to_dir, usage(progname))
+        error("%s is not an absolute file name.\n%s" % (to_dir, usage(progname)))
 
     if not copy_all(from_dir, to_dir, exts):
       # some kind of failure