diff --git a/Event/PyDumper/python/Dumpers.py b/Event/PyDumper/python/Dumpers.py
index 1b5be9bf8d2dfd1e98746d22663c99fc3912344c..a1225b2b6391839d5c93cb475123e0223b85f71a 100644
--- a/Event/PyDumper/python/Dumpers.py
+++ b/Event/PyDumper/python/Dumpers.py
@@ -1460,7 +1460,7 @@ def dump_surface (p, f):
 
 
 def dump_associatedSurface (p, f):
-    if not p.hasSurface():
+    if hasattr(p, 'hasSurface') and not p.hasSurface():
         print >> f, None,
     else:
         dump_surface (p.associatedSurface(), f)