Mercurial > hg > truffle
comparison mxtool/mx.py @ 13779:fc5e2c808a23
fixed pylint warnings
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 28 Jan 2014 12:38:08 +0100 |
parents | 43c7df32d5ab |
children | 96d5cb754b68 |
comparison
equal
deleted
inserted
replaced
13778:0be9a42f28e7 | 13779:fc5e2c808a23 |
---|---|
1562 def __cmp__ (self, other): | 1562 def __cmp__ (self, other): |
1563 if isinstance(other, types.StringType): | 1563 if isinstance(other, types.StringType): |
1564 other = JavaCompliance(other) | 1564 other = JavaCompliance(other) |
1565 | 1565 |
1566 return cmp(self.value, other.value) | 1566 return cmp(self.value, other.value) |
1567 | 1567 |
1568 def __hash__(self): | 1568 def __hash__(self): |
1569 return self.value.__hash__() | 1569 return self.value.__hash__() |
1570 | 1570 |
1571 """ | 1571 """ |
1572 A version specification as defined in JSR-56 | 1572 A version specification as defined in JSR-56 |