<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -264,6 +264,8 @@ def handle_suggestions(request, translation_project, file_path, item):
             except ValueError:
                 # l10n: ValueError refers to the Python exception name
                 response[&quot;message&quot;] = _(&quot;Error: ValueError exception raised.&quot;)
+            except PermissionError, e:
+                response[&quot;message&quot;] = e
 
 
         for sugg in reversed(rejects):
@@ -276,6 +278,8 @@ def handle_suggestions(request, translation_project, file_path, item):
             except ValueError:
                 # l10n: ValueError refers to the Python exception name
                 response[&quot;message&quot;] = _(&quot;Error: ValueError exception raised.&quot;)
+            except PermissionError, e:
+                response[&quot;message&quot;] = e
 
         response[&quot;status&quot;] = (reject_candidates == reject_count and
                               accept_candidates == accept_count) and \</diff>
      <filename>local_apps/pootle_app/views/language/view.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5c78255f36d3fc56bb5e34f7efbddc5a7e19c8fc</id>
    </parent>
  </parents>
  <author>
    <name>murgilduta</name>
    <email>murgilduta@54714841-351b-0410-a198-e36a94b762f5</email>
  </author>
  <url>http://github.com/translateorgza/pootle/commit/bcb44faaa9280e447596aed3054bd7655d2b21d9</url>
  <id>bcb44faaa9280e447596aed3054bd7655d2b21d9</id>
  <committed-date>2009-10-13T11:22:36-07:00</committed-date>
  <authored-date>2009-10-13T11:22:36-07:00</authored-date>
  <message>Provide an error message when PermissionError is raised.

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