mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +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 feature in self.features:
|
||||||
for path in feature.to_monado_paths():
|
for path in feature.to_monado_paths():
|
||||||
length = len(path)
|
length = len(path)
|
||||||
if (length in self.by_length):
|
if length in self.by_length:
|
||||||
self.by_length[length].append(path)
|
self.by_length[length].append(path)
|
||||||
else:
|
else:
|
||||||
self.by_length[length] = [path]
|
self.by_length[length] = [path]
|
||||||
|
|
Loading…
Reference in a new issue