mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
a/bindings: Simplify as suggested by IDE
This commit is contained in:
parent
5a7412e86d
commit
d8cf72f6d9
|
@ -83,7 +83,7 @@ class Profile:
|
|||
for feature in self.features:
|
||||
for path in feature.to_monado_paths():
|
||||
length = len(path)
|
||||
if (length in self.by_length):
|
||||
if length in self.by_length:
|
||||
self.by_length[length].append(path)
|
||||
else:
|
||||
self.by_length[length] = [path]
|
||||
|
|
Loading…
Reference in a new issue