summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/m5/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/m5/config.py b/python/m5/config.py
index a93fdefeb..33e0a5be7 100644
--- a/python/m5/config.py
+++ b/python/m5/config.py
@@ -519,7 +519,7 @@ class BaseProxy(object):
# support multiplying proxies by constants
def __mul__(self, other):
- if not isinstance(other, (int, float)):
+ if not isinstance(other, (int, long, float)):
raise TypeError, "Proxy multiplier must be integer"
if self._multiplier == None:
self._multiplier = other