From a36033853a7d567e92713a0392b29754521f338b Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Thu, 16 Sep 2010 14:27:42 -0700 Subject: STORM-168 : Python modules cleanup --- scripts/install.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'scripts') diff --git a/scripts/install.py b/scripts/install.py index 7368af0b37..c2adf4d0a2 100755 --- a/scripts/install.py +++ b/scripts/install.py @@ -84,18 +84,6 @@ except ImportError: from indra.base import llsd from indra.util import helpformatter -# *HACK: Necessary for python 2.3. Consider removing this code wart -# after etch has deployed everywhere. 2008-12-23 Phoenix -try: - sorted = sorted -except NameError: - def sorted(in_list): - "Return a list which is a sorted copy of in_list." - # Copy the source to be more functional and side-effect free. - out_list = copy.copy(in_list) - out_list.sort() - return out_list - class InstallFile(object): "This is just a handy way to throw around details on a file in memory." def __init__(self, pkgname, url, md5sum, cache_dir, platform_path): -- cgit v1.2.3