Skip to content

Commit 3ef7678

Browse files
Update
[ghstack-poisoned]
1 parent 0c32cd8 commit 3ef7678

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

torch/_dynamo/variables/builder.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,9 +1311,8 @@ def build_key_value(i, k, v):
13111311
# match user defined exceptions
13121312
self.install_guards(GuardBuilder.ID_MATCH)
13131313
args = [
1314-
LazyVariableTracker.create(
1315-
arg, source=GetItemSource(self.source, i)
1316-
) for i, arg in enumerate(value.args)
1314+
LazyVariableTracker.create(arg, source=GetItemSource(self.source, i))
1315+
for i, arg in enumerate(value.args)
13171316
]
13181317
return ExceptionVariable(type(value), args, source=self.source)
13191318
elif issubclass(type(value), type):

0 commit comments

Comments
 (0)