[Piglit] [PATCH 4/7] Modify the Test class in core.py to use ThreadPools.

Chad Versace chad at chad-versace.us
Mon Feb 7 14:59:50 PST 2011

Please remove the trailing whitespace here.

>  	def doRun(self, env, path):
> +		if ThreadPools().lookup(self.poolName) is None:
> +			ThreadPools().create(self.poolName)
> +		ThreadPools().put(self.__doRunWork, args = (env, path,), name = self.poolName)
> +	def __doRunWork(self, env, path):

The best way to prevent whitespace from creeping into your commits is to
enable the default Git pre-commit hook.

cd path/to/repo/.git/hooks
mv pre-commit.sample pre-commit
chmod +x pre-commit

Chad Versace
chad at chad-versace.us

More information about the Piglit mailing list