python3 changes in arcctl AccountingPublishing (BUGZ-4018)
Begin arcbot message
This merge request is automatically copied from !1363 (merged) orginally made by @maikenp
End arcbot message
Went a bit overboard with the last change. This is fine according to Mattias comment in MR 1354 (