]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/lyxwin_getopt.py
Remove profiling.py
[lyx.git] / lib / scripts / lyxwin_getopt.py
index a6f356a084a346d69f70484e00513b15802e143d..90571896ee0275097d0091f375907f815256bbfb 100755 (executable)
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
 """Parser for command line options.
 
 This module helps scripts to parse the command line arguments in
@@ -83,7 +81,7 @@ def getopt(args, shortopts, longopts = []):
     """
 
     opts = []
-    if type(longopts) == type(""):
+    if type(longopts) == str:
         longopts = [longopts]
     else:
         longopts = list(longopts)