+ change repr method output to be more explicit
(TODO: Is it going to break anything ?)
This commit is contained in:
parent
6a92e63cc1
commit
e2cafb3327
1 changed files with 3 additions and 4 deletions
|
@ -316,10 +316,9 @@ class _Feature(Feature, _injector):
|
||||||
for k, v in properties.iteritems():
|
for k, v in properties.iteritems():
|
||||||
self[k] = v
|
self[k] = v
|
||||||
|
|
||||||
class _Color(Color,_injector):
|
class _Color(Color,_injector):
|
||||||
|
def __repr__(self):
|
||||||
def __repr__(self):
|
return "Color(R=%d,G=%d,B=%d,A=%d)" % (self.r,self.g,self.b,self.a)
|
||||||
return "Color(%r)" % self.to_hex_string()
|
|
||||||
|
|
||||||
class _Symbolizers(Symbolizers,_injector):
|
class _Symbolizers(Symbolizers,_injector):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue