Mercurial > hg
diff contrib/buildrpm @ 29192:bac14dbbbfab
py3: use setattr() to assign new class attribute
The old method produces error 'object does not supports item assignment'.
So setattr() is used to assign a new class attribute via __dict__ .
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 17 May 2016 05:32:36 +0530 |
parents | e7bd55db011b |
children | 5aac617a028d |