~mabac/linaro-image-tools/bug-829220

« back to all changes in this revision

Viewing changes to linaro_image_tools/fetch_image.py

  • Committer: James Tunnicliffe
  • Date: 2011-08-19 12:15:02 UTC
  • mfrom: (405.3.2 linaro-image-tools)
  • Revision ID: james.tunnicliffe@linaro.org-20110819121502-1rggwopls8gqcjyl
Pages 1 and 2 of the new IU are now complete.

* Saying you want to run a simulation will generate a Beagle image to run on QEMU (tool does not run QEMU for you)
* Advanced options on page 2 allow for selecting an OS that isn't Ubuntu Desktop
* Unless you are selecting a snapshot build, page 3 is now linaro-media-create settings

Part 3 of the updates will concentrate on the linaro-media-create settings page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
832
832
                value = re.sub('LEB:\s*', '', value)
833
833
                self.settings['UI']['reverse-descriptions'][value] = key
834
834
 
 
835
        # If an item doesn't have a translation, just add in a null one
 
836
        if not self.settings['UI']['translate']:
 
837
            self.settings['UI']['translate'] = {}
 
838
 
 
839
        for key, value in self.settings['choice']['platform'].items():
 
840
            if not key in self.settings['UI']['translate']:
 
841
                self.settings['UI']['translate'][key] = key
 
842
 
835
843
        self.settings['UI']['reverse-translate'] = {}
836
844
        for (key, value) in self.settings['UI']['translate'].items():
837
845
            self.settings['UI']['reverse-translate'][value] = key