support are disabled. The asterisk following ipv6 indicates that ipv6 support
was disabled the last time this packages was installed. The percent sign
following qt indicates that the qt option has been added to the package since
-it was last installed.
+it was last installed. For information about all \fBUSE\fR symbols, see the
+\fB\-\-verbose\fR option documentation above.
.br
\fB*Note:\fR Flags that haven't changed since the last install are only
displayed when you use the \fB\-\-pretend\fR and \fB\-\-verbose\fR options.
#cache expansions of constant strings
cexpand={}
-def varexpand(mystring,mydict={}):
+def varexpand(mystring, mydict={}):
newstring = cexpand.get(" "+mystring, None)
if newstring is not None:
return newstring
"""
- new variable expansion code. Removes quotes, handles \n, etc.
+ new variable expansion code. Preserves quotes, handles \n, etc.
This code is used by the configfile code, as well as others (parser)
This would be a good bunch of code to port to C.
"""
if (indoub):
newstring=newstring+"'"
else:
+ newstring += "'" # Quote removal is handled by shlex.
insing=not insing
pos=pos+1
continue
if (insing):
newstring=newstring+'"'
else:
+ newstring += '"' # Quote removal is handled by shlex.
indoub=not indoub
pos=pos+1
continue