View | Details | Raw Unified | Return to bug 29810
Collapse All | Expand All

(-)python/package_manager.py (-2 / +6 lines)
 Lines 300-307    Link Here 
300
		return out, err
300
		return out, err
301
301
302
	@contextmanager
302
	@contextmanager
303
	def no_umc_restart(self):
303
	def no_umc_restart(self, exclude_apache=False):
304
		self._shell_command(CMD_DISABLE_EXEC)
304
		if exclude_apache:
305
			cmd_disable_exec = [CMD_DISABLE_EXEC, '--exclude-apache']
306
		else:
307
			cmd_disable_exec = CMD_DISABLE_EXEC
308
		self._shell_command(cmd_disable_exec)
305
		try:
309
		try:
306
			yield
310
			yield
307
		finally:
311
		finally:

Return to bug 29810