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:
parent
034d2e4746
commit
d28cddfede
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user