From c614e711136205252ac2c72f9772c718dafc471e Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Wed, 12 Aug 2015 21:54:45 +0300 Subject: gbuild-to-ide: Don't try to remove files that don't exist. Failed with lo.pro and lo.pro.user Change-Id: I47ffd5cb31edb29d0f501a2a15c6b7ca4b93db87 --- bin/gbuild-to-ide | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/gbuild-to-ide') diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 9e5b7a7243b8..4ad7d4b025ed 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -1361,8 +1361,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): os.remove(os.path.join(loc, afile)) self._log("removed %s\n" % afile) except OSError: - shutil.rmtree(os.path.join(loc, afile)) - self._log("removed2 %s\n" % afile) + self._log("unable to remove %s\n" % afile) do_remove_file(self.base_folder, "lo.pro") do_remove_file(self.base_folder, "lo.pro.user") -- cgit