Commit a351e383 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

There's no need to do `list(dict.keys())` list(dict)` is enough.

parent 4e7f04cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ class ChangeList(object):
        if remove is None: remove = []
        p = self.params.copy()
        for r in remove:
            for k in list(p.keys()):
            for k in list(p):
                if k.startswith(r):
                    del p[k]
        for k, v in new_params.items():