summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 0ac3952466..e0e03318a6 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -748,7 +748,7 @@ def clean_basepath(basepath):
748 if basepath[0] == '/': 748 if basepath[0] == '/':
749 return cleaned 749 return cleaned
750 750
751 if basepath.startswith("mc:"): 751 if basepath.startswith("mc:") and basepath.count(':') >= 2:
752 mc, mc_name, basepath = basepath.split(":", 2) 752 mc, mc_name, basepath = basepath.split(":", 2)
753 mc_suffix = ':mc:' + mc_name 753 mc_suffix = ':mc:' + mc_name
754 else: 754 else: