File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323import llnl .util .lang
2424from llnl .util .filesystem import mkdirp , rename
2525
26+ import ramble
2627import ramble .config
2728from ramble .util .logger import logger
2829
2930import spack
3031import spack .error
3132import spack .url
32- import spack .util .crypto
3333import spack .util .gcs as gcs_util
3434import spack .util .s3 as s3_util
3535import spack .util .url as url_util
3636from spack .util .compression import ALLOWED_ARCHIVE_TYPES
3737from spack .util .path import convert_to_posix_path
3838
3939#: User-Agent used in Request objects
40- SPACK_USER_AGENT = f"Spackbot/ { spack . spack_version } "
40+ RAMBLE_USER_AGENT = f"Ramblebot/ { ramble . ramble_version } "
4141
4242
4343# Also, HTMLParseError is deprecated and never raised.
@@ -113,7 +113,7 @@ def read_from_url(url, accept_content_type=None):
113113 url = url_util .format (url )
114114 if sys .platform == "win32" and url_scheme == "file" :
115115 url = convert_to_posix_path (url )
116- req = Request (url , headers = {"User-Agent" : SPACK_USER_AGENT })
116+ req = Request (url , headers = {"User-Agent" : RAMBLE_USER_AGENT })
117117
118118 content_type = None
119119 is_web_url = url_scheme in ("http" , "https" )
You can’t perform that action at this time.
0 commit comments