From e98ccd309bb8eb48153d2400f11a08341e9a2271 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 2 Aug 2008 20:42:15 -0700 Subject: [PATCH] kill unused code --- src/SConscript | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/SConscript b/src/SConscript index 6dd647c0d..ad1fe76a9 100644 --- a/src/SConscript +++ b/src/SConscript @@ -257,30 +257,6 @@ class DictImporter(object): return mod -class ordered_dict(dict): - def keys(self): - keys = super(ordered_dict, self).keys() - keys.sort() - return keys - - def values(self): - return [ self[key] for key in self.keys() ] - - def items(self): - return [ (key,self[key]) for key in self.keys() ] - - def iterkeys(self): - for key in self.keys(): - yield key - - def itervalues(self): - for value in self.values(): - yield value - - def iteritems(self): - for key,value in self.items(): - yield key, value - py_modules = {} for source in py_sources: py_modules[source.modpath] = source.srcpath -- 2.30.2