Skip to content

Commit b3dccf7

Browse files
committed
rename '_attr' to 'tag'
1 parent e66834c commit b3dccf7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

python/uv/private/uv.bzl

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,15 @@ def process_modules(
198198
if not (mod.is_root or mod.name == "rules_python"):
199199
continue
200200

201-
for default_attr in mod.tags.default:
201+
for tag in mod.tags.default:
202202
_configure(
203203
defaults,
204-
version = default_attr.version,
205-
base_url = default_attr.base_url,
206-
manifest_filename = default_attr.manifest_filename,
207-
platform = default_attr.platform,
208-
compatible_with = default_attr.compatible_with,
209-
target_settings = default_attr.target_settings,
204+
version = tag.version,
205+
base_url = tag.base_url,
206+
manifest_filename = tag.manifest_filename,
207+
platform = tag.platform,
208+
compatible_with = tag.compatible_with,
209+
target_settings = tag.target_settings,
210210
)
211211

212212
for key in [
@@ -238,8 +238,8 @@ def process_modules(
238238
continue
239239

240240
last_version = None
241-
for config_attr in mod.tags.configure:
242-
last_version = config_attr.version or last_version or defaults["version"]
241+
for tag in mod.tags.configure:
242+
last_version = tag.version or last_version or defaults["version"]
243243
specific_config = versions.setdefault(
244244
last_version,
245245
{
@@ -253,13 +253,13 @@ def process_modules(
253253

254254
_configure(
255255
specific_config,
256-
base_url = config_attr.base_url,
257-
manifest_filename = config_attr.manifest_filename,
258-
platform = config_attr.platform,
259-
compatible_with = config_attr.compatible_with,
260-
target_settings = config_attr.target_settings,
261-
sha256 = config_attr.sha256,
262-
urls = config_attr.urls,
256+
base_url = tag.base_url,
257+
manifest_filename = tag.manifest_filename,
258+
platform = tag.platform,
259+
compatible_with = tag.compatible_with,
260+
target_settings = tag.target_settings,
261+
sha256 = tag.sha256,
262+
urls = tag.urls,
263263
)
264264

265265
versions = {

0 commit comments

Comments
 (0)