forked from Imagelibrary/littlefs
scripts: Replaced __builtins__ with builtins
Apparently __builtins__ is a CPython implementation detail, and behaves differently when executed vs imported??? import builtins is the correct way to go about this.
This commit is contained in:
@@ -262,7 +262,8 @@ def main(tags, *,
|
||||
block_count=None,
|
||||
off=None,
|
||||
**args):
|
||||
list_, list = list, __builtins__.list
|
||||
import builtins
|
||||
list_, list = list, builtins.list
|
||||
|
||||
# list all known tags
|
||||
if list_:
|
||||
|
||||
Reference in New Issue
Block a user