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_name: unicode (optional)
View to display in the frontend. Overrides view_name.""" 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. # Show view.
self._send({"method": "display", "view_name": view_name}) self._send({"method": "display", "view_name": view_name})