original_docstring: Remove the local secrets directory that may be left from previous runs
docstring: Remove the local secrets directory that may be left from previous runs
docstring_tokens: Remove the local secrets directory that may be left from previous runs
code: def _cleanup_old_secrets():
          """Remove the local secrets directory that may be left from previous runs"""
          temp_dir = os.path.join(tempfile.gettempdir(), 'stream_alert_secrets')
  
          # Check if the folder exists, and remove it if it does
          if os.path.isdir(temp_dir):
              shutil.rmtree(temp_dir)
code_tokens: def _cleanup_old_secrets ( ) : temp_dir = os . path . join ( tempfile . gettempdir ( ) , 'stream_alert_secrets' ) if os . path . isdir ( temp_dir ) : shutil . rmtree ( temp_dir )
short_docstring: Remove the local secrets directory that may be left from previous runs
short_docstring_tokens: Remove the local secrets directory that may be left from previous runs
comment: """Remove the local secrets directory that may be left from previous runs"""$SEP$# Check if the folder exists, and remove it if it does