Author: baum
Date: Sun Jun  5 12:03:32 2011
New Revision: 38950
URL: http://www.lyx.org/trac/changeset/38950

Log:
remove dead code

Modified:
   lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py

Modified: lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py
==============================================================================
--- lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py      Sun Jun  5 10:46:42 2011        
(r38949)
+++ lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py      Sun Jun  5 12:03:32 2011        
(r38950)
@@ -45,17 +45,6 @@
     return True
 
 
-# DO NOT USE THIS ROUTINE ANY MORE. Better yet, replace the uses that
-# have been made of it with uses of put_cmd_in_ert.
-def old_put_cmd_in_ert(string):
-    for rep in unicode_reps:
-        string = string.replace(rep[1], rep[0].replace('\\\\', '\\'))
-    string = string.replace('\\', "\\backslash\n")
-    string = "\\begin_inset ERT\nstatus collapsed\n\\begin_layout Plain 
Layout\n" \
-      + string + "\n\\end_layout\n\\end_inset"
-    return string
-
-
 ###############################################################################
 ###
 ### Conversion and reversion routines

Reply via email to