summaryrefslogtreecommitdiff
path: root/upstream-layers/bitbake/lib/bb/fetch2.py
blob: e640170167b0e6187be27a76d6aa7a3c80a9e06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Copyright (C) 2026 Agilent Technologies, Inc.
#
# SPDX-License-Identifier: GPL-2.0-only
#

import sys
import warnings

import bb.fetch

warnings.warn(
    "bb.fetch2 is deprecated; use bb.fetch instead",
    DeprecationWarning,
    stacklevel=2,
)

# Compatibility shim for code using bb.fetch2
sys.modules[__name__] = bb.fetch