VOL-1452 pep8 cleanup and tab/space fixes

Change-Id: Iad55faad2455bbe0a13178f36efd13bb6f06409c
diff --git a/python/adapters/openolt/openolt_device.py b/python/adapters/openolt/openolt_device.py
index 162f323..0ebf04f 100644
--- a/python/adapters/openolt/openolt_device.py
+++ b/python/adapters/openolt/openolt_device.py
@@ -42,6 +42,7 @@
 
 from pyvoltha.protos.logical_device_pb2 import LogicalDevice, LogicalPort
 
+
 class OpenoltDevice(object):
     """
     OpenoltDevice state machine:
@@ -103,7 +104,7 @@
         self.extra_args = device.extra_args
         self.log = structlog.get_logger(id=self.device_id,
                                         ip=self.host_and_port)
-        #self.proxy = registry('core').get_proxy('/')
+        # self.proxy = registry('core').get_proxy('/')
 
         self.log.info('openolt-device-init')
 
@@ -135,7 +136,7 @@
                                send_event=True, initial='state_null')
         self.go_state_init()
 
-def create_logical_device(self, device_info):
+    def create_logical_device(self, device_info):
         dpid = device_info.device_id
         serial_number = device_info.device_serial_number
 
@@ -289,15 +290,15 @@
         # TODO: check for uptime and reboot if too long (VOL-1192)
 
         device.connect_status = ConnectStatus.REACHABLE
-	device.mac_address = "AA:BB:CC:DD:EE:FF"
+        device.mac_address = "AA:BB:CC:DD:EE:FF"
         self.adapter_agent.device_update(device)
- 
+
     def do_state_up(self, event):
         self.log.debug("do_state_up")
 
-	self.adapter_agent.device_state_update(self.device_id,
-                                                      connect_status=ConnectStatus.REACHABLE,
-                                                      oper_status=OperStatus.ACTIVE)
+        self.adapter_agent.device_state_update(self.device_id,
+                                               connect_status=ConnectStatus.REACHABLE,
+                                               oper_status=OperStatus.ACTIVE)
 
     def do_state_down(self, event):
         self.log.debug("do_state_down")
@@ -875,8 +876,8 @@
         port = Port(port_no=port_no, label=label, type=port_type,
                     admin_state=AdminState.ENABLED, oper_status=oper_status)
 
-	yield self.adapter_agent.port_created(self.device_id, port)
-        #self.adapter_agent.add_port(self.device_id, port)
+        yield self.adapter_agent.port_created(self.device_id, port)
+        # self.adapter_agent.add_port(self.device_id, port)
 
         returnValue(port_no, label)