diff options
| author | Philip Thiem <ptthiem@gmail.com> | 2013-07-20 19:15:23 -0500 |
|---|---|---|
| committer | Philip Thiem <ptthiem@gmail.com> | 2013-07-20 19:15:23 -0500 |
| commit | 07cbe433c675c801616e98db0ca5460f95a64c85 (patch) | |
| tree | 28693c34485ad0ebd4c9b971d1940a0774eea73d /setuptools/svn_utils.py | |
| parent | 6ee69e4cf1ec16129eddb0455e5fc7640d04d07c (diff) | |
| download | python-setuptools-bitbucket-07cbe433c675c801616e98db0ca5460f95a64c85.tar.gz | |
Tweaks to get everything to pass again.
Diffstat (limited to 'setuptools/svn_utils.py')
| -rw-r--r-- | setuptools/svn_utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/svn_utils.py b/setuptools/svn_utils.py index 09aa5e25..17b211d7 100644 --- a/setuptools/svn_utils.py +++ b/setuptools/svn_utils.py @@ -121,6 +121,7 @@ def parse_dir_entries(decoded_str): def parse_externals_xml(decoded_str, prefix=''):
'''Parse a propget svn:externals xml'''
prefix = os.path.normpath(prefix)
+ prefix = os.path.normcase(prefix)
doc = xml.dom.pulldom.parseString(_get_xml_data(decoded_str))
externals = list()
@@ -129,6 +130,9 @@ def parse_externals_xml(decoded_str, prefix=''): if event == 'START_ELEMENT' and node.nodeName == 'target':
doc.expandNode(node)
path = os.path.normpath(node.getAttribute('path'))
+ log.warn('')
+ log.warn('PRE: %s' % prefix)
+ log.warn('PTH: %s' % path)
if os.path.normcase(path).startswith(prefix):
path = path[len(prefix)+1:]
|
