diff options
Diffstat (limited to 'ipalib/util.py')
-rw-r--r-- | ipalib/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/util.py b/ipalib/util.py index abd50da7d..44f08e7f6 100644 --- a/ipalib/util.py +++ b/ipalib/util.py @@ -143,7 +143,7 @@ def check_writable_file(filename): open the file to test writability. """ if filename is None: - raise errors.FileError(reason='Filename is empty') + raise errors.FileError(reason=_('Filename is empty')) try: if os.path.exists(filename): if not os.access(filename, os.W_OK): |