--- a/LPCProjectController.py Wed Feb 07 15:51:57 2018 +0100
+++ b/LPCProjectController.py Wed Feb 07 16:18:03 2018 +0100
@@ -54,7 +54,6 @@
self.logger.write(_("Export file is not created because eror: %s\n") % e)
save = self.ProjectTestModified()
@@ -167,27 +166,6 @@
- def _Clean(self, building = False):
- self._CloseView(self._IECCodeView)
- runtime_list = fnmatch.filter(os.listdir(self._getBuildPath()), 'runtime_*')
- if os.path.isdir(os.path.join(self._getBuildPath())) and os.path.isfile(
- os.path.join(self._getBuildPath(), "hmi.py")) or runtime_list != []:
- self.logger.write(_("Cleaning the build directory\n"))
- # self.logger.write(_(str(os.path.join(self._getBuildPath(), "hmi.py"))))
- for file in runtime_list:
- os.remove(os.path.join(self._getBuildPath(), file))
- if os.path.isfile(os.path.join(self._getBuildPath(), "hmi.py")):
- os.remove(os.path.join(self._getBuildPath(), "hmi.py"))
- self.logger.write_error(_("Build directory already clean\n"))
- self.ShowMethod("_showIECcode", False)
- self.EnableMethod("_Clean", False)
- self.CompareLocalAndRemotePLC()
# TODO : move to vanilla beremiz
@@ -197,7 +175,6 @@
return ProjectController._Transfer(self)
Method called by user to flash the firmware of the PLC