[Libreoffice-commits] core.git: bin/gbuild-to-ide
Maxim Monastirsky
momonasmon at gmail.com
Wed Aug 12 12:03:58 PDT 2015
bin/gbuild-to-ide | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c614e711136205252ac2c72f9772c718dafc471e
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Wed Aug 12 21:54:45 2015 +0300
gbuild-to-ide: Don't try to remove files that don't exist.
Failed with lo.pro and lo.pro.user
Change-Id: I47ffd5cb31edb29d0f501a2a15c6b7ca4b93db87
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 9e5b7a7..4ad7d4b 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")
More information about the Libreoffice-commits
mailing list