controls/DebugVariablePanel/DebugVariableItem.py
changeset 1774 ac0fe8aabb5e
parent 1767 c74815729afd
child 1782 5b6ad7a7fd9d
equal deleted inserted replaced
1773:38fde37c3766 1774:ac0fe8aabb5e
   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: