equal
deleted
inserted
replaced
306 """ |
306 """ |
307 Update value. |
307 Update value. |
308 @param value: New value |
308 @param value: New value |
309 """ |
309 """ |
310 # Remove quote and double quote surrounding string value to get raw value |
310 # Remove quote and double quote surrounding string value to get raw value |
311 if self.VariableType == "STRING" and value.startswith("'") and value.endswith("'") or \ |
311 if self.VariableType == "STRING" and value.startswith("'") and value.endswith("'") or \ |
312 self.VariableType == "WSTRING" and value.startswith('"') and value.endswith('"'): |
312 self.VariableType == "WSTRING" and value.startswith('"') and value.endswith('"'): |
313 value = value[1:-1] |
313 value = value[1:-1] |
314 |
314 |
315 # Store variable value |
315 # Store variable value |
316 if self.Value != value: |
316 if self.Value != value: |