develop
asamoukin 16 years ago
parent 9dbba80115
commit df2a723092

@ -4216,9 +4216,7 @@ class plasma(samba):
findAreaPrev = areas[-1]
else:
if lenNamesBlock == i:
findAreaPrev.fields.append("")
findAreaPrev.fields += fieldsTmp
#findAreaPrev.fields += "RRRRRRRRRRRRRRRRRRRRRR\n"
findAreaPrev.fields.append(areaNew)
findAreaPrev = findAreaPrev.fields[-1]
else:
@ -4256,9 +4254,9 @@ class plasma(samba):
namesBlock = namesBlockList[i-delt]
findArea = findPathArea(copy.copy(namesBlock), areas)
if findArea:
if findArea.fields:
if type(findArea.fields[0]) == types.StringType:
findArea.fields.pop(0)
#if findArea.fields:
#if type(findArea.fields[0]) == types.StringType:
#findArea.fields.pop(0)
findArea.fields.insert(0, body)
i += 1
@ -4382,6 +4380,8 @@ class plasma(samba):
rootNode.appendChild(fieldXMLBr)
else:
#if not i:
#continue
fields = self.splitToFields(i)
for field in fields:
if field.name != False:

Loading…
Cancel
Save