Browse code

mlt: Faulheits-Shortcut wieder raus

git-svn-id: svn://devel.enda.eu/svnroot/e_kommu/xml_export/trunk@1009 6d5695c6-a2e0-438d-8b37-c93c90bbf000

Matthias LĆ¼ttgert authored on 28/06/2016 16:37:14
Showing 1 changed files
... ...
@@ -108,13 +108,14 @@ module Gui_callbacks
108 108
       @glade['main_window'].window.set_cursor(Gdk::Cursor.new(Gdk::Cursor::LEFT_PTR))
109 109
     else
110 110
       # Keinen Bock, jedes Mal neu die Datei herauszufrickeln:
111
-      STDOUT.sync = true
112
-      @glade['main_window'].window.set_cursor(Gdk::Cursor.new(Gdk::Cursor::WATCH))
113
-      @art15_xml_datei = "/home/mlt/dev/kommu/xml_export/daten/e_kommu_DE2014_1st_deployment_upload_release.xml"
114
-      xml15_checker = Art15_XML_Checker.new(@glade, @art15_xml_datei)
115
-      result = xml15_checker.check_dp2tp_links_with_schema
116
-      @glade['main_window'].window.set_cursor(Gdk::Cursor.new(Gdk::Cursor::LEFT_PTR))
117
-
111
+      if nil
112
+        STDOUT.sync = true
113
+        @glade['main_window'].window.set_cursor(Gdk::Cursor.new(Gdk::Cursor::WATCH))
114
+        @art15_xml_datei = "/home/mlt/dev/kommu/xml_export/daten/e_kommu_DE2014_1st_deployment_upload_release.xml"
115
+        xml15_checker = Art15_XML_Checker.new(@glade, @art15_xml_datei)
116
+        result = xml15_checker.check_dp2tp_links_with_schema
117
+        @glade['main_window'].window.set_cursor(Gdk::Cursor.new(Gdk::Cursor::LEFT_PTR))
118
+      end
118 119
       puts "Es gibt keinen Pfad auf eine Art.15 XML-Datei."
119 120
       dialog = Gtk::MessageDialog.new(@glade['main_window'],
120 121
                                       Gtk::Dialog::DESTROY_WITH_PARENT,