mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix translatable strings in ipalib plugins.
Needed for xgettext/pygettext processing.
This commit is contained in:
committed by
Rob Crittenden
parent
8145952752
commit
f3de95ce99
@@ -329,7 +329,9 @@ class automountlocation_import(LDAPQuery):
|
||||
fp.close()
|
||||
except IOError, e:
|
||||
if e.errno == 2:
|
||||
raise errors.NotFound(reason=_('File %(file)s not found' % {'file':filename}))
|
||||
raise errors.NotFound(
|
||||
reason=_('File %(file)s not found') % {'file': filename}
|
||||
)
|
||||
else:
|
||||
raise e
|
||||
return map
|
||||
|
||||
Reference in New Issue
Block a user