diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-03-18 19:40:17 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-03-18 19:40:17 +0000 |
commit | e6a3eabc5cb7f76fc1aae39bd86fc8f90f4f2975 (patch) | |
tree | f9672f0b2d03eb78c8947063912f1cf81fe8ffba /gui.py | |
parent | 7320b072592b11714b7381a65beaa35ca51b4a7e (diff) | |
download | anaconda-e6a3eabc5cb7f76fc1aae39bd86fc8f90f4f2975.tar.gz anaconda-e6a3eabc5cb7f76fc1aae39bd86fc8f90f4f2975.tar.xz anaconda-e6a3eabc5cb7f76fc1aae39bd86fc8f90f4f2975.zip |
break out of all the loops so i18n help works (#61351)
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -902,13 +902,20 @@ class InstallControlState: arch = "-%s" % (iutil.getArch(),) tags = [ "%s%s" % (helpTag, arch), "%s" % (helpTag,), "%s" % (arch,), "" ] - + + found = 0 for path in self.searchPath: + if found: + break for lang in langPath + ['C']: + if found: + break for tag in tags: try: text = open("%s/help/%s/s1-help-screens-%s%s.html" % (path, lang, file, tag)).read () + found = 1 + break except IOError: continue else: |