aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repoman/lib/repoman/modules/scan/metadata/pkgmetadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoman/lib/repoman/modules/scan/metadata/pkgmetadata.py b/repoman/lib/repoman/modules/scan/metadata/pkgmetadata.py
index c1ba8e9f4..2e85cc3b9 100644
--- a/repoman/lib/repoman/modules/scan/metadata/pkgmetadata.py
+++ b/repoman/lib/repoman/modules/scan/metadata/pkgmetadata.py
@@ -101,7 +101,7 @@ class PkgMetadata(ScanBase, USEFlagChecks):
indentation_chars = Counter()
for l in etree.tostring(_metadata_xml).splitlines():
- indentation_chars.update(re.match(b"\s*", l).group(0))
+ indentation_chars.update(re.match(rb"\s*", l).group(0))
if len(indentation_chars) > 1:
self.qatracker.add_error("metadata.warning", "%s/metadata.xml: %s" %
(xpkg, "inconsistent use of tabs and spaces in indentation")