code: def _makeInfoFiles(basedir, quiet):
      
      def createFile(path, file, contents):
          filepath = os.path.join(path, file)
  
          if os.path.exists(filepath):
              return False
  
          if not quiet:
              print("Creating {0}, you need to edit it appropriately.".format(
                    os.path.join("info", file)))
  
          try:
              open(filepath, "wt").write(contents)
          except IOError as exception:
              raise CreateWorkerError("could not write {0}: {1}".format(
                                      filepath, exception.strerror))
          return True
  
      path = os.path.join(basedir, "info")
      if not os.path.exists(path):
          if not quiet:
              print("mkdir", path)
          try:
              os.mkdir(path)
          except OSError as exception:
              raise CreateWorkerError("error creating directory {0}: {1}".format(
                                      path, exception.strerror))
  
      # create 'info/admin' file
      created = createFile(path, "admin",
                           "Your Name Here <admin@youraddress.invalid>\n")
  
      # create 'info/host' file
      created = createFile(path, "host",
                           "Please put a description of this build host here\n")
  
      access_uri = os.path.join(path, "access_uri")
  
      if not os.path.exists(access_uri):
          if not quiet:
              print("Not creating {0} - add it if you wish".format(
                    os.path.join("info", "access_uri")))
  
      if created and not quiet:
          print("Please edit the files in {0} appropriately.".format(path))
docs: Create info/* files inside basedir.
  
      @param basedir: worker base directory relative path
      @param   quiet: if True, don't print info messages
  
      @raise CreateWorkerError: on error making info directory or
                               writing info files