diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-08-19 13:40:13 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-08-19 13:40:13 -0300 |
commit | 87304c2858fc7b560e3a89450d8b31e12202f713 (patch) | |
tree | 5eddfa4d97aa3900ab5731dc514f1062ec83127a /src | |
parent | 1c952600d7d8a6f22a7952ed5131b04e9c8d5f34 (diff) | |
parent | abd476bffb427bd0733dcf87d12fed00d4cf6aaf (diff) |
Merge remote-tracking branch 'refs/remotes/kali/bug/remove-dict-comprenhension' into develop
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/bitmask/util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/util/__init__.py b/src/leap/bitmask/util/__init__.py index caa94ec7..e8eddd64 100644 --- a/src/leap/bitmask/util/__init__.py +++ b/src/leap/bitmask/util/__init__.py @@ -151,6 +151,6 @@ def flags_to_dict(): :rtype: dict. """ items = [i for i in dir(flags) if i[0] != '_'] - values = {i: getattr(flags, i) for i in items} + values = dict((i, getattr(flags, i)) for i in items) return values |