Commits

Michał Górny  committed c012407

Pass all_count through IPC when forking.

  • Participants
  • Parent commits 298919e

Comments (0)

Files changed (1)

File smartliverebuild/core.py

 						del cliargs[i]
 
 			if childpid == 0:
-				pdata = {'packages': packages, 'erraneous': erraneous}
+				pdata = {
+					'packages': packages,
+					'erraneous': erraneous,
+					'all_count': all_count,
+				}
 				pipe = os.fdopen(commpipe[1], 'wb')
 				pickle.dump(pdata, pipe, pickle.HIGHEST_PROTOCOL)
 				pipe.flush()
 			signal.signal(signal.SIGINT, sigint)
 			packages = pdata['packages']
 			erraneous = pdata['erraneous']
+			all_count = pdata['all_count']
 
 	finally:
 		if childpid: # make sure that we leave no orphans