> + name = "Account sync %s" % accountname)
What about?
name = "Account sync {}".format(accountname))
I know that most codebase is using printf style, but Python devs
recommend that and it is compatible both with Python 2 and 3.