diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2022-05-14 02:22:35 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2022-05-14 02:22:35 -0400 |
| commit | 3c1c40158da1e2af9aced53056ad4c3aaafc0913 (patch) | |
| tree | 3a2029e068d6f10e65fdad99167e4a406946d1fa /python/examples/triage/byte.py | |
| parent | 5926698ea5013fab44d95d8a0f046888398565de (diff) | |
remove more vestigal py2 code
Diffstat (limited to 'python/examples/triage/byte.py')
| -rw-r--r-- | python/examples/triage/byte.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/python/examples/triage/byte.py b/python/examples/triage/byte.py index 0cc00485..13e5d153 100644 --- a/python/examples/triage/byte.py +++ b/python/examples/triage/byte.py @@ -47,12 +47,6 @@ class ByteView(QAbstractScrollArea, View): u'≡', u'±', u'≥', u'≤', u'⌠', u'⌡', u'÷', u'≈', u'°', u'∙', u'·', u'√', u'ⁿ', u'²', u'■', u' ' ] - if sys.version_info.major == 2: - mapping = {} - for i in range(0, 256): - mapping[chr(i)] = self.byte_mapping[i] - self.byte_mapping = mapping - self.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff) self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOn) self.setFocusPolicy(Qt.StrongFocus) |
