old_contents: # (c) 2012 Urban Airship and Contributors
  
  import functools
  
  
  def exempt(view):
      @functools.wraps(view)
      def inner(*args, **kwargs):
          return view(*args, **kwargs)
  
      inner.mithril_exempt = True
      return inner
  
  
  def resettable(reset_view):
      def outer(fn):
          @functools.wraps(fn)
          def inner(*args, **kwargs):
              return fn(*args, **kwargs)
  
          inner.mithril_reset = reset_view
          return inner
  
      return outer
  
new_contents: # (c) 2012 Urban Airship and Contributors
  
  import functools
  
  
  def exempt(view):
      view.mithril_exempt = True
      return view
  
  
  def resettable(reset_view):
      def outer(fn):
          @functools.wraps(fn)
          def inner(*args, **kwargs):
              return fn(*args, **kwargs)
  
          inner.mithril_reset = reset_view
          return inner
  
      return outer
  
subject: simplify exempt decorator