From a101ac3dcedf5e8957061576dd6dadd738711717 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Thu, 19 Aug 2021 12:47:02 +0800 Subject: python2: drop bbappend This bbappend was added long time ago and it is useless now. Signed-off-by: Yi Zhao Signed-off-by: Joe MacDonald --- .../recipes-devtools/python/files/sitecustomize.py | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py (limited to 'dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py') diff --git a/dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py b/dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py deleted file mode 100644 index d2b71fa..0000000 --- a/dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py +++ /dev/null @@ -1,26 +0,0 @@ -# OpenEmbedded sitecustomize.py (C) 2002-2008 Michael 'Mickey' Lauer -# GPLv2 or later -# Version: 20081123 -# Features: -# * set proper default encoding -# Features removed for SELinux: -# * enable readline completion in the interactive interpreter -# * load command line history on startup -# * save command line history on exit - -import os - -def __enableDefaultEncoding(): - import sys - try: - sys.setdefaultencoding( "utf8" ) - except LookupError: - pass - -import sys -try: - import rlcompleter, readline -except ImportError: - pass -else: - __enableDefaultEncoding() -- cgit v1.2.3-54-g00ecf