[damned-lies] Let doc potfile errors be stored in db



commit dc29815a5bceb469cfb41e7e663cfa4eb0c45c65
Author: Claude Paroz <claude 2xlibre net>
Date:   Wed Nov 17 09:20:58 2010 +0100

    Let doc potfile errors be stored in db

 stats/models.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/stats/models.py b/stats/models.py
index 4000ec9..fc3c751 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -368,9 +368,6 @@ class Branch(models.Model):
                     else:
                         # Standard gnome-doc-utils pot generation
                         potfile, errs = utils.generate_doc_pot_file(domain_path, dom.potbase(), self.module.name, settings.DEBUG)
-                    if not potfile:
-                        print >> sys.stderr, "\n".join([e[1] for e in errs])
-                        continue
                 else:
                     print >> sys.stderr, "Unknown domain type '%s', ignoring domain '%s'" % (dom.dtype, dom.name)
                     continue



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]