aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-05-07 00:50:54 +0000
committerBrian Harring <ferringb@gentoo.org>2005-05-07 00:50:54 +0000
commita7f4b86461f99daa51651c949b7ec0c1af586dce (patch)
tree0e479d46410e6c2911b73d7edf64919609fa2844 /pym
parentAdded some basic utility methods to StateGraph. Reworked the test script (diff)
downloadportage-cvs-a7f4b86461f99daa51651c949b7ec0c1af586dce.tar.gz
portage-cvs-a7f4b86461f99daa51651c949b7ec0c1af586dce.tar.bz2
portage-cvs-a7f4b86461f99daa51651c949b7ec0c1af586dce.zip
dsd supplied a fix for the quote issues w/ env transfering down the pipe.
Diffstat (limited to 'pym')
-rw-r--r--pym/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/config.py b/pym/config.py
index a4137bc..3707f3a 100644
--- a/pym/config.py
+++ b/pym/config.py
@@ -713,7 +713,7 @@ class config:
for k in mydict.keys():
# quotes and escaped chars suck.
s=mydict[k].replace("\\","\\\\\\\\")
- s=s.replace("'","\\'")
+ s=s.replace("'","\\\\'")
s=s.replace("\n","\\\n")
final[k]="$'%s'" % s
return final