platypush/plugins/gpio/__init__.py
def cleanup(self):
        """
        Cleanup the state of the GPIO and resets PIN values.
        """
        import RPi.GPIO as GPIO

        with self._init_lock:
            if self._initialized:
                GPIO.cleanup()
                self._initialized_pins = {}
                self._initialized = False

        Cleanup the state of the GPIO and resets PIN values.
        
Cleanup the state of the GPIO and resets PIN values.
Cleanup the state of the GPIO and resets PIN values .
def cleanup(self):
        import RPi.GPIO as GPIO
        with self._init_lock:
            if self._initialized:
                GPIO.cleanup()
                self._initialized_pins = {}
                self._initialized = False
def cleanup ( self ) : import RPi . GPIO as GPIO with self . _init_lock : if self . _initialized : GPIO . cleanup ( ) self . _initialized_pins = { } self . _initialized = False
Cleanup the state of the GPIO and resets PIN values.
Cleanup the state of the GPIO and resets PIN values .
"""
        Cleanup the state of the GPIO and resets PIN values.
        """
self