Re: [PyQt] bug: QProcessEnvironment insert failing

2010-12-10 Thread Scott Ballard
Thanks for the reply Wolfgang! I guess the verbiage is a little misleading then. Insert implies to add to whats existing. Perhaps QT needs to add a replace method as well. :) Easy enough to work around though. Cheers, -Scott On Fri, Dec 10, 2010 at 1:12 AM, Wolfgang Rohdewald wrote: > On Fre

Re: [PyQt] bug: QProcessEnvironment insert failing

2010-12-10 Thread Wolfgang Rohdewald
On Freitag 10 Dezember 2010, Scott Ballard wrote: > The insert method of QProcessEnvironment overwrites the > environment variable instead of inserting into it. according to the manual, this is correct. Inserts the environment variable of name name and contents value into this QProcessEnvironmen

[PyQt] bug: QProcessEnvironment insert failing

2010-12-09 Thread Scott Ballard
I ran across the following bug tonight: The insert method of QProcessEnvironment overwrites the environment variable instead of inserting into it. === Example === from PyQt4 import QtCore env = QtCore.QProcessEnvironment.systemEnvironment() print env.value('PATH') >>C:\WINDOWS\system32;C:\WINDOW