Author: dmeyer
Date: Fri Sep  7 11:37:28 2007
New Revision: 2799

Log:
do not overwrite already set values

Modified:
   trunk/metadata/src/core.py

Modified: trunk/metadata/src/core.py
==============================================================================
--- trunk/metadata/src/core.py  (original)
+++ trunk/metadata/src/core.py  Fri Sep  7 11:37:28 2007
@@ -214,6 +214,8 @@
         for name, table in self._tables.items():
             mapping = self.table_mapping.get(name, {})
             for tag, attr in mapping.items():
+                if self.get(attr):
+                    continue
                 value = table.get(tag, None)
                 if value is not None:
                     if not isinstance(value, (str, unicode)):

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to