<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -524,6 +524,7 @@ def make_class(base_class):
         # reloaded, so we simply set it to undefined.
         if self.header() is None:
             self._total = util.undefined
+            request_cache.reset()
         self.updateheader(add=True, **headerupdates)
         if languageprefs:
           nplurals = getattr(languageprefs, &quot;nplurals&quot;, None)</diff>
      <filename>pootlefile.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1b2de810389aff7cd9886cb120242669c02b5b0e</id>
    </parent>
  </parents>
  <author>
    <name>winterstream</name>
    <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
  </author>
  <url>http://github.com/julen/pootle/commit/36bb34696989f569dbc815d8b5330337d901a27f</url>
  <id>36bb34696989f569dbc815d8b5330337d901a27f</id>
  <committed-date>2008-10-22T08:22:29-07:00</committed-date>
  <authored-date>2008-10-22T08:22:29-07:00</authored-date>
  <message>If we want to force a reload of a headerless file's totals array, we
must also clear the per-request cache, since it might carry an
incorrect totals array.

git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/Pootle@8826 54714841-351b-0410-a198-e36a94b762f5</message>
  <tree>f7c61d868dfb80e6b6a49068ba9bb9eb5f0b5785</tree>
  <committer>
    <name>winterstream</name>
    <email>winterstream@54714841-351b-0410-a198-e36a94b762f5</email>
  </committer>
</commit>
