[qmtest] exceptions.TypeError: All dictionary items must be strings, or all must be unicode

Andrew Funk afunk at ll.mit.edu
Tue Mar 2 19:17:58 UTC 2004


Yes, this fixes the problem I was having.

Thanks!
Andy

-----Original Message-----
From: Mark Mitchell [mailto:mark at codesourcery.com] 
Sent: Monday, March 01, 2004 10:30 PM
To: Andrew Funk
Cc: qmtest at codesourcery.com
Subject: Re: [qmtest] exceptions.TypeError: All dictionary items must be
strings, or all must be unicode


Andrew Funk wrote:

>Hi Mark,
>
>Yes, that was it.  The keys are sensitive too, so I actually had to 
>change the line to this:
>
>environment[str(variable)] = str(value)
>  
>
Thanks for testing that change!

I researched this problem a little more and made the attached change 
instead.

I've checked this in on the mainline and on the 2.1 branch, but it would

be great if you could test it out and confirm that it works for you.

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark at codesourcery.com





More information about the qmtest mailing list