]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/__init__.py
YAPF PEP8 auto-reformat layout and whitespace (no code changes)
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / __init__.py
index 32b2002ba2dab539ffd2468f870f8e9c88967ce3..06758eed2e529b2bbf38c12c01339f2259b6730f 100644 (file)
@@ -1,5 +1,6 @@
 """Module providing runtime utility objects to support the Micro/CircuitPython api"""
 
+
 class Enum(object):
     """
         Object supporting CircuitPython-style of static symbols
@@ -37,6 +38,7 @@ class ContextManaged:
     def __exit__(self, exc_type, exc_value, traceback):
         self.deinit()
 
+
 class Lockable(ContextManaged):
     _locked = False
 
@@ -44,7 +46,7 @@ class Lockable(ContextManaged):
         if self._locked:
             return False
         else:
-            self._locked=True
+            self._locked = True
             return True
 
     def unlock(self):