--- a/LPCManager.py Fri Jun 15 18:28:47 2012 +0200
+++ b/LPCManager.py Fri Jun 15 18:28:57 2012 +0200
@@ -1878,15 +1878,13 @@
self.CTR._Build()
def SetProjectProperties(self, projectname, productname, productversion, companyname):
- properties = self.CTR.GetProjectProperties()
- new_properties = properties.copy()
- new_properties["projectName"] = projectname
- new_properties["productName"] = productname
- new_properties["productVersion"] = productversion
- new_properties["companyName"] = companyname
- if new_properties != properties:
- self.CTR.SetProjectProperties(properties=new_properties, buffer=False)
- self.RestartTimer()
+ new_properties = {
+ "projectName": projectname,
+ "productName": productname,
+ "productVersion": productversion,
+ "companyName": companyname}
+ self.CTR.SetProjectProperties(properties=new_properties, buffer=False)
+ self.RestartTimer()
def SetOnlineMode(self, mode, path=None):
self.CTR.SetOnlineMode(mode, path)