diff options
author | dirkf <fieldhouse@gmx.net> | 2023-07-30 21:45:57 +0100 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2023-08-01 01:05:09 +0100 |
commit | 7d965e6b65655f2a5fbae34219fc87359a3d7061 (patch) | |
tree | 51f8658c2f8b2704c612a3e3ddcffcdb07431dff /youtube_dl/swfinterp.py | |
parent | abef53466da1f7d2e79f5644718a2cf7524abc49 (diff) | |
download | youtube-dl-7d965e6b65655f2a5fbae34219fc87359a3d7061.tar.gz youtube-dl-7d965e6b65655f2a5fbae34219fc87359a3d7061.tar.xz youtube-dl-7d965e6b65655f2a5fbae34219fc87359a3d7061.zip |
[utils] Avoid comparing `type(var)`, etc, to pass new Linter rules
Diffstat (limited to 'youtube_dl/swfinterp.py')
-rw-r--r-- | youtube_dl/swfinterp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/swfinterp.py b/youtube_dl/swfinterp.py index 0c7158575..e79e0b17f 100644 --- a/youtube_dl/swfinterp.py +++ b/youtube_dl/swfinterp.py @@ -727,7 +727,7 @@ class SWFInterpreter(object): stack.append(res) continue - assert isinstance(obj, (dict, _ScopeDict)),\ + assert isinstance(obj, (dict, _ScopeDict)), \ 'Accessing member %r on %r' % (pname, obj) res = obj.get(pname, undefined) stack.append(res) |