1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

- use a buffer instead of a memoryview if python version < 2.7

(forgot to remove this code in commit 034d2e4746)
This commit is contained in:
Marcus Huewe 2013-04-18 15:03:32 +02:00
parent 034d2e4746
commit d28cddfede

View File

@ -45,12 +45,6 @@ except ImportError:
from . import oscerr
from . import conf
# python 2.6 don't have memoryview, neither bytes
try:
memoryview
except NameError:
memoryview = buffer
try:
# python 2.6 and python 2.7
unicode