config-fs-gen: Fix "is" with a literal syntax warning
Change-Id: Ifd94916c88710ed3743e7cb58da4e50c23e3b9d3
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user