Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pylint: fix bad-mcs-method-argument | Jan Barta | 2016-09-22 | 1 | -24/+24 |
| | | | | | Reviewed-By: Tomas Krizek <tkrizek@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> | ||||
* | pylint: fix bad-mcs-classmethod-argument | Jan Barta | 2016-09-22 | 1 | -2/+2 |
| | | | | | Reviewed-By: Tomas Krizek <tkrizek@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> | ||||
* | Use six.with_metaclass to specify metaclasses | Jan Cholasta | 2015-09-07 | 1 | -0/+1 |
| | | | | | | | Metaclass specification is incompatible between Python 2 and 3. Use the six.with_metaclass helper to specify metaclasses. Reviewed-By: Petr Viktorin <pviktori@redhat.com> | ||||
* | Use six.reraise | Petr Viktorin | 2015-09-01 | 1 | -9/+1 |
| | | | | | | | | The three-argument raise is going away in Python 3. Use the six.reraise helper instead. Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com> | ||||
* | Use Python3-compatible dict method names | Petr Viktorin | 2015-09-01 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | Python 2 has keys()/values()/items(), which return lists, iterkeys()/itervalues()/iteritems(), which return iterators, and viewkeys()/viewvalues()/viewitems() which return views. Python 3 has only keys()/values()/items(), which return views. To get iterators, one can use iter() or a for loop/comprehension; for lists there's the list() constructor. When iterating through the entire dict, without modifying the dict, the difference between Python 2's items() and iteritems() is negligible, especially on small dicts (the main overhead is extra memory, not CPU time). In the interest of simpler code, this patch changes many instances of iteritems() to items(), iterkeys() to keys() etc. In other cases, helpers like six.itervalues are used. Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com> | ||||
* | install: Introduce installer framework ipapython.install | Jan Cholasta | 2015-06-08 | 1 | -0/+169 |
https://fedorahosted.org/freeipa/ticket/4468 Reviewed-By: Martin Basti <mbasti@redhat.com> |