VMM/handler: Added a comment for the Translation Project. v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Tue, 08 Nov 2011 21:31:30 +0000
branchv0.6.x
changeset 470 807ad4df0774
parent 469 1ebb6b88f589
child 471 5d0114f7bb99
VMM/handler: Added a comment for the Translation Project.
VirtualMailManager/handler.py
--- a/VirtualMailManager/handler.py	Tue Nov 08 01:42:49 2011 +0000
+++ b/VirtualMailManager/handler.py	Tue Nov 08 21:31:30 2011 +0000
@@ -112,6 +112,7 @@
         fmode = int(oct(fstat.st_mode & 0777))
         if fmode % 100 and fstat.st_uid != fstat.st_gid or \
            fmode % 10 and fstat.st_uid == fstat.st_gid:
+            # TP: Please keep the backticks around the command. `chmod 0600 …`
             raise PermissionError(_(u"wrong permissions for '%(file)s': "
                                     u"%(perms)s\n`chmod 0600 %(file)s` would "
                                     u"be great.") % {'file': self._cfg_fname,