summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-08-12 21:54:45 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-08-12 22:00:22 +0300
commitc614e711136205252ac2c72f9772c718dafc471e (patch)
tree52f5b497d46e5f256401ed18c1e37ae884979145 /bin
parent2d4edd7de2e67db5bd17e7a89e2496611ebcc165 (diff)
gbuild-to-ide: Don't try to remove files that don't exist.
Failed with lo.pro and lo.pro.user Change-Id: I47ffd5cb31edb29d0f501a2a15c6b7ca4b93db87
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gbuild-to-ide3
1 files changed, 1 insertions, 2 deletions
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")