projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9977cd5
)
Use localization for the dos line-endings warning message in getconfig.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 8 Sep 2010 00:19:41 +0000
(17:19 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 8 Sep 2010 00:19:41 +0000
(17:19 -0700)
pym/portage/util/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/__init__.py
b/pym/portage/util/__init__.py
index b897f77f8ccf336f46771310aeb551621d3e3ad2..ae1d6febb1de1fe4db89e69d0609eac6e7ebd6ca 100644
(file)
--- a/
pym/portage/util/__init__.py
+++ b/
pym/portage/util/__init__.py
@@
-432,8
+432,8
@@
def getconfig(mycfg, tolerant=0, allow_sourcing=False, expand=True):
# Warn about dos-style line endings since that prevents
# people from being able to source them with bash.
if '\r' in content:
- writemsg(
"!!!
Please use dos2unix to convert line endings " + \
- "in config file: '%s'
\n"
% mycfg, noiselevel=-1)
+ writemsg(
("!!! " + _("
Please use dos2unix to convert line endings " + \
+ "in config file: '%s'
") + "\n")
% mycfg, noiselevel=-1)
try:
if tolerant: