Mercurial > hg
comparison contrib/packagelib.sh @ 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 | 6474b64045fb |
children | 13f90dde8f8c |
comparison
equal
deleted
inserted
replaced
29191:ad1ce3c7af72 | 29192:bac14dbbbfab |
---|