original_docstring:  Helper containing verify -secrets_dir arg 
docstring: Helper containing verify -secrets_dir arg
docstring_tokens: Helper containing verify - secrets_dir arg
code: def verify_secrets(secrets_directory):
      """ Helper containing verify -secrets_dir arg """
      global device_dir
  
      if not secrets_directory:
          print ("Please provide a filepath to the directory containg device files [-device_dir]")
          sys.exit(1)
  
      else:
          device_dir = secrets_directory
          secrets = secrets_directory + "/" + input_secrets
  
          if (not os.path.exists(secrets)):
              print("The given filepath {%s} does not contain the expected device files" % secrets_directory)
              sys.exit(1)
          else:
              #cpy_secrets(secrets_dir, dev_path_mb)
              return True
code_tokens: def verify_secrets ( secrets_directory ) : global device_dir if not secrets_directory : print ( "Please provide a filepath to the directory containg device files [-device_dir]" ) sys . exit ( 1 ) else : device_dir = secrets_directory secrets = secrets_directory + "/" + input_secrets if ( not os . path . exists ( secrets ) ) : print ( "The given filepath {%s} does not contain the expected device files" % secrets_directory ) sys . exit ( 1 ) else : return True
short_docstring: Helper containing verify -secrets_dir arg
short_docstring_tokens: Helper containing verify - secrets_dir arg
comment: """ Helper containing verify -secrets_dir arg """$SEP$#cpy_secrets(secrets_dir, dev_path_mb)