aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Harvey <chris@basementcode.com>2010-06-04 13:46:05 -0400
committerChristopher Harvey <chris@basementcode.com>2010-06-04 13:46:05 -0400
commit0b8f10991a4ac5af02805fc421152172b584536e (patch)
tree2d67227043940626dcefc56ebaa72192c09bc6a7
parentStarted modprobe module (diff)
downloadventoo-0b8f10991a4ac5af02805fc421152172b584536e.tar.gz
ventoo-0b8f10991a4ac5af02805fc421152172b584536e.tar.bz2
ventoo-0b8f10991a4ac5af02805fc421152172b584536e.zip
Marked broken places
-rw-r--r--src/frontend/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/main.py b/src/frontend/main.py
index d12d8db..a5d793f 100644
--- a/src/frontend/main.py
+++ b/src/frontend/main.py
@@ -275,6 +275,7 @@ class MainWindow(gtk.Window):
childMult = self.currentModule.getMultOf(osp.join(xmlRoot, child.tag))
matches = self.a.match(osp.join(augeasFileRoot, child.tag))
matches.extend(self.a.match(osp.join(augeasFileRoot, child.tag)+'[*]'))
+ #TODO: remove duplicates
listedNodes.extend(matches)
#add leaves if we're missing some required ones (in augeas itself)
@@ -290,7 +291,7 @@ class MainWindow(gtk.Window):
#update the matches, since we have added stuff to augeas, based on previous matches
matches = self.a.match(osp.join(augeasFileRoot, child.tag))
matches.extend(self.a.match(osp.join(augeasFileRoot, child.tag)+'[*]'))
-
+ #TODO: remove duplicates.
for match in matches:
userData = self.a.get(match) #add all existing data
if userData == None: