Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.6, 0.7, and 0.7.1

the sets module is deprecated in Python 2.6

[SF bug# 2421939]

Changeset e29c65bdc55b

Parent c6903eee7297

by TK Soh

Changes to one file · Browse files at e29c65bdc55b Showing diff from parent c6903eee7297 Diff from another changeset...

 
43
44
45
46
47
48
49
 
349
350
351
352
 
353
354
355
 
439
440
441
442
 
443
444
445
 
43
44
45
 
46
47
48
 
348
349
350
 
351
352
353
354
 
438
439
440
 
441
442
443
444
@@ -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: