config-fs-gen: Fix "is" with a literal syntax warning

Change-Id: Ifd94916c88710ed3743e7cb58da4e50c23e3b9d3
This commit is contained in:
LuK1337
2020-05-11 15:52:52 +02:00
parent 7e7a24d750
commit 544bf38665

View File

@@ -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)