[library-web] dont't fail extending a missing document
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] dont't fail extending a missing document
- Date: Wed, 29 Jan 2014 17:38:22 +0000 (UTC)
commit c460f0a778bc5531eb4acddd7554830b65ef81f3
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Jan 29 17:37:37 2014 +0000
dont't fail extending a missing document
src/lgo.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index c6f3603..23c42ab 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -719,7 +719,10 @@ class Lgo(App):
except IndexError:
pass
else:
- gnome_help_doc.version_subs.get(doc.one_dot_version).extend_mallard(doc)
+ try:
+ gnome_help_doc.version_subs.get(doc.one_dot_version).extend_mallard(doc)
+ except AttributeError:
+ continue
doc.filename = filename
doc.mtime_tarball = mtime
if extraction_happened:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]