Commits

Michał Górny  committed 18d3239

Simplify iterating over packages.

  • Participants
  • Parent commits 5e98f5d

Comments (0)

Files changed (1)

File smartliverebuild/core.py

 			else:
 				out.s1('Updating the repositories using %s%d%s parallel jobs...' % (out.white, opts.jobs, out.s1reset))
 
-			it = iter(pm.installed)
 			processes = []
 
 			packages = []
 			getvcs = VCSLoader()
 
 			try:
-				while True:
-					try:
-						pkg = next(it)
-					except StopIteration:
-						break
+				for pkg in pm.installed:
 					if not filt(pkg.key):
 						continue