Skip to content

Commit

Permalink
Remove unicode_literals import. Re AAClause#69.
Browse files Browse the repository at this point in the history
As Python 3 demands Unicode strings by default (unless prefixed by b for bytes), remove unnecessary __futre__.unicode_literals import.
  • Loading branch information
josephsl committed Jul 16, 2020
1 parent 87dff95 commit 95aa399
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion addon/globalPlugins/brailleExtender/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Additional third party copyrighted code is included:
# - *Attribra*: Copyright (C) 2017 Alberto Zanella <lapostadialberto@gmail.com>
# -> https://github.com/albzan/attribra/
from __future__ import unicode_literals

from collections import OrderedDict
from logHandler import log

Expand Down
1 change: 0 additions & 1 deletion addon/globalPlugins/brailleExtender/addonDoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Part of BrailleExtender addon for NVDA
# Copyright 2016-2020 André-Abush CLAUSE, released under GPL.

from __future__ import unicode_literals
import re
import addonHandler

Expand Down
1 change: 0 additions & 1 deletion addon/globalPlugins/brailleExtender/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Part of BrailleExtender addon for NVDA
# Copyright 2016-2020 André-Abush CLAUSE, released under GPL.

from __future__ import unicode_literals
import os
import struct

Expand Down
1 change: 0 additions & 1 deletion addon/globalPlugins/brailleExtender/configBE.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Part of BrailleExtender addon for NVDA
# Copyright 2016-2020 André-Abush CLAUSE, released under GPL.

from __future__ import unicode_literals
import os
import globalVars
from collections import OrderedDict
Expand Down
2 changes: 1 addition & 1 deletion addon/globalPlugins/brailleExtender/dictionaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# dictionaries.py
# Part of BrailleExtender addon for NVDA
# Copyright 2016-2020 André-Abush CLAUSE, released under GPL.
from __future__ import unicode_literals

import gui
import wx
import os.path
Expand Down
1 change: 0 additions & 1 deletion addon/globalPlugins/brailleExtender/patchs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# Copyright 2016-2020 André-Abush CLAUSE, released under GPL.
# This file modify some functions from core.

from __future__ import unicode_literals
import os
import re
import sys
Expand Down
1 change: 0 additions & 1 deletion addon/globalPlugins/brailleExtender/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Part of BrailleExtender addon for NVDA
# Copyright 2016-2020 André-Abush CLAUSE, released under GPL.

from __future__ import unicode_literals
import glob
import hashlib
import os
Expand Down
2 changes: 1 addition & 1 deletion addon/globalPlugins/brailleExtender/updateCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# updateCheck.py
# Part of BrailleExtender addon for NVDA
# Copyright 2020 André-Abush Clause, released under GPL.
from __future__ import unicode_literals

from logHandler import log
import json
import os
Expand Down
1 change: 0 additions & 1 deletion addon/globalPlugins/brailleExtender/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Part of BrailleExtender addon for NVDA
# Copyright 2016-2020 André-Abush CLAUSE, released under GPL.

from __future__ import unicode_literals
import os.path as osp
import re
import api
Expand Down

0 comments on commit 95aa399

Please sign in to comment.