Fix two instances of using None, which would cause an AttributeError.
Fix two instances of using None, which would cause an AttributeError.

Submitted by: Jon Nelson


git-svn-id: 35afe1d183cbd4849519a30d21151995795e8f1d@1063 de761a21-4c15-0410-92fa-db90950b6ec0

dag/genshi,dag/genshi,davidfraser/genshi,dag/genshi,davidfraser/genshi,dag/genshi,davidfraser/genshi,davidfraser/genshi