Fixes for python deprecated methods (Fixes BUGZ-4018)
Begin arcbot message
This merge request is automatically copied from !1354 (merged) orginally made by @maikenp
End arcbot message
More fixes may come. Searching arcctl to see if there are other places with problems.
Edited by Maiken