Skip to content

Commit 1d4541a

Browse files
author
Hugo Osvaldo Barrera
committed
Remove python2-compatibility code
1 parent d6ee441 commit 1d4541a

16 files changed

Lines changed: 0 additions & 64 deletions

File tree

barcode/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
"""
42
53
pyBarcode

barcode/base.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
51
"""barcode.base
62
73
"""

barcode/charsets/code128.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
51
import string
62

73
# Charsets for code 128

barcode/charsets/code39.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
51
import string
62

73
# Charsets for code 39

barcode/charsets/ean.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
5-
61
EDGE = '101'
72
MIDDLE = '01010'
83
CODES = {

barcode/charsets/itf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
51
# W = Wide bar
62
# w = wide space
73
# N = Narrow bar

barcode/charsets/upc.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
5-
61
EDGE = '101'
72
MIDDLE = '01010'
83
CODES = {

barcode/codex.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
51
from barcode.base import Barcode
62
from barcode.charsets import code128, code39
73
from barcode.errors import (

barcode/ean.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
51
from barcode.base import Barcode
62
from barcode.charsets import ean as _ean
73
from barcode.errors import (

barcode/errors.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from __future__ import unicode_literals
4-
51
"""barcode.errors
62
"""
73
__docformat__ = 'restructuredtext en'

0 commit comments

Comments
 (0)