[389-devel] Re: Please review: Issue 79 - Fix replica.py and add tests

2017-08-09 Thread Simon Pichugin
Add enum34 to pip and python-enum34 to specfile for RHEL7/Fedora. https://pagure.io/lib389/issue/79 https://pagure.io/lib389/issue/raw/files/f21bb2a58d89e3939a8a2c1d1579157e028e03de5285012a261bf27ec4b2b1aa-0001-Issue-79-Fix-replica.py-and-add-tests.patch On Wed, Aug 02, 2017 at 03:10:57PM +0200,

[389-devel] Re: Please review: Issue 79 - Fix replica.py and add tests

2017-08-02 Thread Simon Pichugin
Add enum34 to requirements.txt for py2 compatibility https://pagure.io/lib389/issue/79 https://pagure.io/lib389/issue/raw/files/7be353523a4a7ad8382a9a98ad778819f5e7557ab1812b9d1e595499ef821244-0001-Issue-79-Fix-replica.py-and-add-tests.patch On Mon, Jul 31, 2017 at 06:28:05PM +0200, Simon

[389-devel] Re: Please review: Issue 79 - Fix replica.py and add tests

2017-07-31 Thread Simon Pichugin
New changes regarding _constants.py module. - replace REPLICAROLE_* with ReplicaRole(Enum) object - change the type of REPLICA_FLAGS_* from str to int - remove not used constants REPLICA_TYPE_* and REPLICA_FLAGS_CON https://pagure.io/lib389/issue/79