From: Nathan Binkert Date: Sun, 3 Aug 2008 03:42:15 +0000 (-0700) Subject: kill unused code X-Git-Tag: m5_2.0_beta6~70 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e98ccd309bb8eb48153d2400f11a08341e9a2271;p=gem5.git kill unused code --- 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