aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo-scripts/maintainer.py')
-rw-r--r--gentoo-scripts/maintainer.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gentoo-scripts/maintainer.py b/gentoo-scripts/maintainer.py
index 5e637dc..1172591 100644
--- a/gentoo-scripts/maintainer.py
+++ b/gentoo-scripts/maintainer.py
@@ -21,7 +21,10 @@ sys.stderr = stderr
from stat import *
from output import *
-import cElementTree as etree
+try:
+ import cElementTree as etree
+except ImportError:
+ import xml.etree.cElementTree as etree
nocolor()