summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/upgrade/1.3/migrate_perms_to_mode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade/1.3/migrate_perms_to_mode.py b/tools/upgrade/1.3/migrate_perms_to_mode.py
index de336456f..ff3fe91c0 100755
--- a/tools/upgrade/1.3/migrate_perms_to_mode.py
+++ b/tools/upgrade/1.3/migrate_perms_to_mode.py
@@ -36,7 +36,7 @@ def convertstructure(structfile):
"""Do perms -> mode conversion for structure files."""
xdata = lxml.etree.parse(structfile)
found = False
- for path in xdata.xpath('//BoundPath|Path'):
+ for path in xdata.xpath('//BoundPath|//Path'):
found = setmodeattr(path)
if found:
writefile(structfile, xdata)