Fixed another indentation issue with device.py
Fixed another indentation issue with device.py

ibm-watson-iot/iot-python,Lokesh-K-Haralakatta/iot-python,ibm-watson-iot/iot-python,ibm-messaging/iot-python