From 63a43ebab608ca9b4f8a177dc61fd259b6b4f07b Mon Sep 17 00:00:00 2001 From: Xu Chang Date: Tue, 20 Jan 2015 16:06:32 +0800 Subject: [PATCH] Don't need import get_python_lib Change-Id: I51b345d5c2d5452323d865054ae4b673becce797 --- common/iris_rest_client.py | 5 ----- job_sync_snapdiff.py | 1 - 2 files changed, 6 deletions(-) diff --git a/common/iris_rest_client.py b/common/iris_rest_client.py index 92ad810..ef9dd1b 100644 --- a/common/iris_rest_client.py +++ b/common/iris_rest_client.py @@ -19,11 +19,6 @@ import sys import urlparse -from distutils.sysconfig import get_python_lib - -# Sets python lib as the first item in python search path, -# directs Python to search modules in it first -sys.path.insert(0, get_python_lib()) import traceback import requests diff --git a/job_sync_snapdiff.py b/job_sync_snapdiff.py index aed7764..f6a409f 100755 --- a/job_sync_snapdiff.py +++ b/job_sync_snapdiff.py @@ -27,7 +27,6 @@ import os import re import sys -from distutils.sysconfig import get_python_lib import bs4 from jinja2 import Environment, FileSystemLoader import requests -- 2.7.4