summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Statistics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Statistics.py b/src/lib/Server/Statistics.py
index d623b1e89..5e3ef0fc8 100644
--- a/src/lib/Server/Statistics.py
+++ b/src/lib/Server/Statistics.py
@@ -1,7 +1,7 @@
'''This file manages the statistics collected by the BCFG2 Server'''
__revision__ = '$Revision: $'
-from elementtree.ElementTree import XML, SubElement, Element
+from lxml.etree import XML, SubElement, Element
from xml.parsers.expat import ExpatError
from syslog import syslog, LOG_ERR
from time import asctime, localtime, time
@@ -101,3 +101,4 @@ class Statistics(object):
# Set dirty
self.dirty = 1
+ self.WriteBack()