diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2005-03-17 14:34:03 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2005-03-17 14:34:03 -0500 |
commit | 3d51dc41329823d46eab055a9200ed579a2141f7 (patch) | |
tree | 0f7efc26b918a9e37b6406433c1d0c064bfca7bc /python/m5/config.py | |
parent | 8b9e38c303a50b773a0b4d6d4e04ebba53ce0d72 (diff) | |
parent | 5977324255daabfcc6b0e2138f53e27b55a7e21d (diff) | |
download | gem5-3d51dc41329823d46eab055a9200ed579a2141f7.tar.xz |
Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5/pact05
--HG--
extra : convert_revision : a0a10fccc03edcc5164536ea853788b982e332d7
Diffstat (limited to 'python/m5/config.py')
-rw-r--r-- | python/m5/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/m5/config.py b/python/m5/config.py index 712b0cfd1..64ec99490 100644 --- a/python/m5/config.py +++ b/python/m5/config.py @@ -897,6 +897,9 @@ class Value(object): def __str__(self): return str(self._getattr()) + def __len__(self): + return len(self._getattr()) + # Regular parameter. class _Param(object): def __init__(self, ptype, *args, **kwargs): |