Changeset e29c65bdc55b…
Parent c6903eee7297…
by
Changes to one file · Browse files at e29c65bdc55b Showing diff from parent c6903eee7297 Diff from another changeset...
@@ -43,7 +43,6 @@
import re
import config
-from sets import Set
from ConfigParser import DEFAULTSECT, ParsingError, MissingSectionHeaderError
class LineType(object):
@@ -349,7 +348,7 @@ del self._options[key]
def __iter__(self):
- d = Set()
+ d = set()
for l in self._lines:
for x in l.contents:
if isinstance(x, LineContainer):
@@ -439,7 +438,7 @@ del self._sections[key]
def __iter__(self):
- d = Set()
+ d = set()
for x in self._data.contents:
if isinstance(x, LineContainer):
if x.name not in d:
|
Loading...