old_contents: from AppKit import NSUserDefaults
  
  from mojo.events import addObserver
  from lib.doodleMenus import SpaceCenterMenuForGlyph
  
  
  class CustomSpaceCenterMenuForGlyph(SpaceCenterMenuForGlyph):
  
      def __init__(self, glyph):
          self._glyph = glyph
          super(SpaceCenterMenuForGlyph, self).__init__()
  
  
  class EqualizeSidebearings(object):
      def __init__(self):
          addObserver(self, 'equalize', 'spaceCenterKeyUp')
  
      def equalize(self, info):
          if info['event'].characters() == 'a':
              space_center_menu = CustomSpaceCenterMenuForGlyph(
                  info['glyph'].naked())
              space_center_menu.equalSideBearings_(self)
  
  
  EqualizeSidebearings()
new_contents: from mojo.events import addObserver
  from lib.doodleMenus import SpaceCenterMenuForGlyph
  
  
  class CustomSpaceCenterMenuForGlyph(SpaceCenterMenuForGlyph):
  
      def __init__(self, glyph):
          self._glyph = glyph
          super(SpaceCenterMenuForGlyph, self).__init__()
  
  
  class EqualizeSidebearings(object):
      def __init__(self):
          addObserver(self, 'equalize', 'spaceCenterKeyUp')
  
      def equalize(self, info):
          if info['event'].characters() == 'a':
              space_center_menu = CustomSpaceCenterMenuForGlyph(
                  info['glyph'].naked())
              space_center_menu.equalSideBearings_(self)
  
  
  EqualizeSidebearings()
subject: Remove unused import