From d28cddfede1c5607db933582d51a18bc674a3766 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Thu, 18 Apr 2013 15:03:32 +0200 Subject: [PATCH] - use a buffer instead of a memoryview if python version < 2.7 (forgot to remove this code in commit 034d2e4746f066de41ca1dbf94b02087507819ce) --- osc/core.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/osc/core.py b/osc/core.py index d7761e14..c50d439a 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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