From bbad08900bbe8f76e59b159cd2af800f5c089ca1 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Mon, 31 Oct 2016 13:22:08 +0100 Subject: client: move clean CCACHE to module According 04b8575c52410bb6d31e0e55f1cf431d7cc9c7c3 cleaning CCACHE is needed after installation. This commit moves this cleanup from ipa-client-install to client.install() function https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Stanislav Laznicka --- client/ipa-client-install | 5 ----- 1 file changed, 5 deletions(-) (limited to 'client') diff --git a/client/ipa-client-install b/client/ipa-client-install index ecb3a14a4..98b2aa165 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -265,8 +265,3 @@ if __name__ == "__main__": sys.exit(1) except RuntimeError as e: sys.exit(e) - finally: - try: - os.remove(client.CCACHE_FILE) - except Exception: - pass -- cgit