Commits

Michał Górny committed 46c8500

Use simple directory list instead of rebuilds dict.

The rebuilds dict is not useful anymore for anything more than checking
for shared repositories.

  • Participants
  • Parent commits 87d1fb8

Comments (0)

Files changed (1)

File SmartLiveRebuild/core.py

 
 			packages = []
 			erraneous = []
-			rebuilds = {}
+			dirs = []
 
 			def loop_iter(blocking = False):
 				needsleep = True
 									env.close()
 									if opts.network or vcs.getsavedrev():
 										dir = vcs.getpath()
-										if dir not in rebuilds:
-											rebuilds[dir] = vcs
+										if dir not in dirs:
+											dirs.append(dir)
 											processes.append(vcs)
 											loop_iter()
-										else:
-											rebuilds[dir].append(vcs)
 						except KeyboardInterrupt:
 							raise
 						except NonLiveEbuild as e: