Package: python-crontab / 1.8.1-2

Metadata

Package Version Patches format
python-crontab 1.8.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
utf8_encoding.patch | (download)

crontab.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 use codecs.open for reading files so utf-8 is properly
# handled in both python2 and 3

remove_root_check_test.diff | (download)

tests/test_interaction.py | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 fix tests so they can be ran as root
# One of the unit tests is a check to see if the current user
# is root and asserts that this is false. This not the case
# when the build is being done by pbuilder. I opted to just remove
# the test as I didn't see it as useful

exit_failure_tests.diff | (download)

tests/test_all.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 make unit test running exit non-zero on test failure
# This is added so that package build will fail if unit tests fail
# during the build