| |
@@ -958,7 +958,7 @@
|
| |
return False
|
| |
|
| |
# Profile names should be unique
|
| |
- names = filter(None, self.profile_names.data)
|
| |
+ names = [x for x in self.profile_names.data if x]
|
| |
if len(set(names)) < len(names):
|
| |
self.errors["profiles"] = ["Profile names must be unique"]
|
| |
return False
|
| |
I've found one more python3 related thing. Building modules via web UI fails with
That is because, in python2, the
filter
function returnslist
, but in python3 it returns an object of classfilter
.@clime, can we please also hotfix this in production?