summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py
index e43080a162..de924b1206 100644
--- a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py
+++ b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py
@@ -322,8 +322,8 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper):
322 for sstatemirror in sstatemirrors: 322 for sstatemirror in sstatemirrors:
323 sstatemirror_fields = [x for x in sstatemirror.split(' ') if x.strip()] 323 sstatemirror_fields = [x for x in sstatemirror.split(' ') if x.strip()]
324 if len(sstatemirror_fields) == 2: 324 if len(sstatemirror_fields) == 2:
325 if sstatemirror_fields[0] == "file://(.*)": 325 if sstatemirror_fields[0] == "file://(.*)" or sstatemirror_fields[0] == "file://.*":
326 sm_list = ["Standard", sstatemirror_fields[1], "file://(.*)"] 326 sm_list = ["Standard", sstatemirror_fields[1], sstatemirror_fields[0]]
327 else: 327 else:
328 sm_list = ["Custom", sstatemirror_fields[1], sstatemirror_fields[0]] 328 sm_list = ["Custom", sstatemirror_fields[1], sstatemirror_fields[0]]
329 self.sstatemirrors_list.append(sm_list) 329 self.sstatemirrors_list.append(sm_list)