parameters: ()
docstring: Returns an instance of Dumpstr for uploading reports.
  
      You should set dumpstr_base_url in your config file if you want to use this
      to upload reports. See the dumpstr README for more info. You might be able
      to find that README on the web at
      https://github.com/ongardie/dumpstr/blob/master/README.rst
docstring_summary: Returns an instance of Dumpstr for uploading reports.
docstring_tokens: Returns an instance of Dumpstr for uploading reports .
function: def getDumpstr():
      """Returns an instance of Dumpstr for uploading reports.
  
      You should set dumpstr_base_url in your config file if you want to use this
      to upload reports. See the dumpstr README for more info. You might be able
      to find that README on the web at
      https://github.com/ongardie/dumpstr/blob/master/README.rst
      """
  
      from dumpstr import Dumpstr
      try:
          url = config.dumpstr_base_url
      except AttributeError:
          d = Dumpstr("")
          def error(*args, **kwargs):
              raise Exception(
                  "You did not set your dumpstr_base_url "
                  "in localconfig.py, so you can't upload reports.")
          d.upload_report = error
          return d
      else:
          return Dumpstr(url)
function_tokens: def getDumpstr ( ) : from dumpstr import Dumpstr try : url = config . dumpstr_base_url except AttributeError : d = Dumpstr ( "" ) def error ( * args , * * kwargs ) : raise Exception ( "You did not set your dumpstr_base_url " "in localconfig.py, so you can't upload reports." ) d . upload_report = error return d else : return Dumpstr ( url )