diff options
Diffstat (limited to 'libbe/util/utility.py')
-rw-r--r-- | libbe/util/utility.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbe/util/utility.py b/libbe/util/utility.py index 3f9a1b0..0bdacb6 100644 --- a/libbe/util/utility.py +++ b/libbe/util/utility.py @@ -1,4 +1,5 @@ # Copyright (C) 2005-2011 Aaron Bentley <abentley@panoramicfeedback.com> +# Chris Ball <cjb@laptop.org> # Gianluca Montecchi <gian@grys.it> # W. Trevor King <wking@drexel.edu> # @@ -28,6 +29,10 @@ import shutil import tempfile import time import types +try: # import core module, Python >= 2.5 + from xml.etree import ElementTree +except ImportError: # look for non-core module + from elementtree import ElementTree import libbe if libbe.TESTING == True: |