changeset 13990:fcc40370f78d

Merge.
author Christian Humer <christian.humer@gmail.com>
date Thu, 20 Feb 2014 13:59:18 +0100
parents aaba5b41c953 (current diff) b167b1838029 (diff)
children 14018434a59a 989f58d6a0ca
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Thu Feb 20 13:44:39 2014 +0100
+++ b/mxtool/mx.py	Thu Feb 20 13:59:18 2014 +0100
@@ -3057,6 +3057,10 @@
         if name == 'item':
             if ps.current_ws is None:
                 target.element(name, attributes)
+            elif not attributes.has_key('elementID') and attributes.has_key('factoryID') and attributes.has_key('path') and attributes.has_key('type'):
+                target.element(name, attributes)
+                p_name = attributes['path'][1:] # strip off the leading '/'
+                ps.seen_projects.append(p_name)
             else:
                 p_name = attributes['elementID'][1:]  # strip off the leading '='
                 _workingset_element(target, p_name)