#3976 closed defect (fixed)

Name of variable is same as built in.

Reported by: daniellee Owned by: daniellee
Priority: minor Milestone: undecided
Component: code-frontend-web Version: n/a
Keywords: Cc:
Launchpad Bug:

Description (last modified by daniellee)

Mypy was showing errors that variable was named the same as a built-in class bytes.

src/allmydata/web/status.py:1619:9: F811 redefinition of unused 'bytes' from line 12
src/allmydata/web/status.py:1626:9: F811 redefinition of unused 'bytes' from line 12
src/allmydata/web/status.py:1633:9: F811 redefinition of unused 'bytes' from line 12
src/allmydata/web/status.py:1640:9: F811 redefinition of unused 'bytes' from line 12

Change History (3)

comment:1 Changed at 2023-02-14T16:54:25Z by daniellee

  • Description modified (diff)

comment:2 Changed at 2023-02-15T04:09:03Z by daniellee

  • Component changed from unknown to code-frontend-web

comment:3 Changed at 2023-02-16T00:09:23Z by GitHub <noreply@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 32dc201/trunk:

Merge pull request #1258 from danielzwlee/truthyconditional-varnamechange

Fixes to truthy conditional and variable names same as built-in

Fixes: ticket:3975
Fixes: ticket:3976

Note: See TracTickets for help on using tickets.