aruhier / virt-backup

Backup your kvm guests managed by libvirt
Other
106 stars 23 forks source link

Allow usage on older systems with older python arrow lib #45

Closed arkadiam closed 3 years ago

arkadiam commented 3 years ago

If you are interested... This patch allows to use the app with older distros like Ubuntu 16 which ship the older version of arrow module. Packaged arrow lib doesn't have int_timestamp function.

aruhier commented 3 years ago

Thanks for this patch. However, I think I changed it on purpose, as the API changed for python 3.6+, as you can see in the CI report: https://github.com/aruhier/virt-backup/pull/45/checks?check_run_id=3069235839

arkadiam commented 3 years ago

It make sense to follow the new API. Those who need to run it with older version of python would know how to patch it based on this PR.