Bug#764714: systemd-cron: indention error in systemd-crontab-generator tab instead of spaces

Alexandre Detiste alexandre.detiste at gmail.com
Fri Oct 10 14:41:40 BST 2014


Hi,

>  * masked missing persistent initialization in def generate_timer_unit
>    (which caused generation to fail for some of my cron jobs)

Can you try the package in unstable ? All the dependencies are
available in testing.

This should be fixed there, this doesn't happen because v1.3.1 is
built with --persistent=true .

> lines 198 and 205 (persistent='') indent with tab instead spaces this will
> cause unexpected behavior
The cause of this is that during the build, sed will chop out the line
that declares peristent='xxx'
I don't know enough of python to handle this better.

> i think there is a git option to avoid or warn for tabs in indention
thanks !

> this is also part of upstream Debian version
> (github.com/systemd-cron/systemd-cron-debian)
These are my fixes pending for a possible 1.3.1+ds1-2 version , if it
is ever needed.

The official repository is on Alioth:
http://anonscm.debian.org/cgit/collab-maint/systemd-cron.git ,
a new version would be updated there via pristine-tar, not this github
respository

> (github.com/systemd-cron/systemd-cron)
this got solved there after the switch to python3, that complained about the tab

> friendly greetings
>     Karl




More information about the Pkg-systemd-maintainers mailing list