diff options
author | LuK1337 <priv.luk@gmail.com> | 2020-05-11 15:52:52 +0200 |
---|---|---|
committer | LuK1337 <priv.luk@gmail.com> | 2020-05-11 15:52:52 +0200 |
commit | 544bf38665ab405f36f89955a1ffa33438030aef (patch) | |
tree | 248509d87dcf97f2c904a2006fe68ae9983b5a7e | |
parent | 7e7a24d7507f76d2db493bf9381fcc42a26695ac (diff) | |
download | scripts-544bf38665ab405f36f89955a1ffa33438030aef.tar.gz scripts-544bf38665ab405f36f89955a1ffa33438030aef.tar.bz2 scripts-544bf38665ab405f36f89955a1ffa33438030aef.zip |
config-fs-gen: Fix "is" with a literal syntax warning
Change-Id: Ifd94916c88710ed3743e7cb58da4e50c23e3b9d3
-rwxr-xr-x | config-fs-gen/config-fs-gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-fs-gen/config-fs-gen.py b/config-fs-gen/config-fs-gen.py index 2e87d68..ad68f43 100755 --- a/config-fs-gen/config-fs-gen.py +++ b/config-fs-gen/config-fs-gen.py @@ -62,7 +62,7 @@ def get_fs_path_configs(fs_config_paths, system_groups, vendor_groups): while True: bytes = file.read(struct.calcsize('<HHHHQ')) - if bytes is b'': + if bytes == b'': break length, mode, uid, gid, caps = struct.unpack('<HHHHQ', bytes) |