diff --git a/product/CMFActivity/ActivityBuffer.py b/product/CMFActivity/ActivityBuffer.py
index ff2e2b40a0ed51c5e25fc0bf4902695a84481d0e..ba25d5117a226cbfa3f9f201bbb0d9adf25f55f4 100755
--- a/product/CMFActivity/ActivityBuffer.py
+++ b/product/CMFActivity/ActivityBuffer.py
@@ -25,6 +25,7 @@
 
 from Shared.DC.ZRDB.TM import TM
 from zLOG import LOG, ERROR, INFO
+import sys
 
 class ActivityBuffer(TM):