~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml.py

  • Committer: Martin Pool
  • Date: 2005-09-22 12:12:53 UTC
  • Revision ID: mbp@sourcefrog.net-20050922121253-eae2a3240ea5e493
- upgrade can no longer be done in current version branches
  so don't test it

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- coding: UTF-8 -*-
 
1
#! /usr/bin/env python
2
2
 
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
28
28
    from cElementTree import (ElementTree, SubElement, Element,
29
29
                              XMLTreeBuilder, fromstring, tostring)
30
30
except ImportError:
31
 
    ## from warnings import warn
32
 
    ## warn('using slower ElementTree; consider installing cElementTree')
 
31
    from warnings import warn
 
32
    warn('using slower ElementTree; consider installing cElementTree')
33
33
    from util.elementtree.ElementTree import (ElementTree, SubElement,
34
34
                                              Element, XMLTreeBuilder,
35
35
                                              fromstring, tostring)