old_contents: import dbus
  
  
  __all__ = ['client']
  
  
  bus = dbus.SessionBus()
  obj = bus.get_object('ua.douhack.marvin', '/ua/douhack/marvin')
  client = dbus.Interface(obj, 'ua.douhack.marvin')
  
new_contents: import dbus
  
  
  __all__ = ['connect']
  
  
  def connect():
      bus = dbus.SessionBus()
      obj = bus.get_object('ua.douhack.marvin', '/ua/douhack/marvin')
      client = dbus.Interface(obj, 'ua.douhack.marvin')
      return client
  
subject: Rewrite client so it will not initialize during import