Remove first three lines of repr widgets

This commit is contained in:
Jonathan Frederic 2014-01-07 15:11:04 -08:00 committed by Jonathan Frederic
parent e383594d04
commit 85b5adff58

View File

@ -277,13 +277,6 @@ class Widget(LoggingConfigurable):
----------
view_name: unicode (optional)
View to display in the frontend. Overrides view_name."""
view_name = kwargs.get('view_name', self.view_name)
# Create a communication.
self._open_communication()
# Make sure model is syncronized
self.send_state()
# Show view.
self._send({"method": "display", "view_name": view_name})