[commit] r2681 - trunk/GME/Parser

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Jun 26 11:06:48 CDT 2017


Author: ksmyth
Date: Mon Jun 26 11:06:48 2017
New Revision: 2681

Log:
Note how to remove regnodes

Modified:
   trunk/GME/Parser/xme_id2guid.py

Modified: trunk/GME/Parser/xme_id2guid.py
==============================================================================
--- trunk/GME/Parser/xme_id2guid.py	Mon Jun 26 11:06:45 2017	(r2680)
+++ trunk/GME/Parser/xme_id2guid.py	Mon Jun 26 11:06:48 2017	(r2681)
@@ -38,6 +38,9 @@
             sortchildrenby(element, 'name')
             sortchildrenby(element, 'guid')
 
+    # remove all regnode data (useful for diffs):
+    # for element in xme.iter('regnode'):
+    #    element[:] = []
     output.write('<!DOCTYPE project SYSTEM "mga2.dtd">\n')
     xme.write(output)
 


More information about the gme-commit mailing list