summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-07-22 10:54:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-29 15:25:08 +0100
commit0e9049a0117ae48d73b4dd4de1a13c57e3942f85 (patch)
treea25f6ba44a99ac07701b1c3cac8e252d61e28fa9 /bitbake/lib/bb
parente28904e1de029a1ba3a19df766d698a31d067161 (diff)
downloadpoky-0e9049a0117ae48d73b4dd4de1a13c57e3942f85.tar.gz
bitbake: hob: sstatemirror is standard also for file://.* regex
(Bitbake rev: 2e3c87569a8c40f7a2ebda22b01eee3bb7c96d1d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-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)