This patch removes the deprecated warnings from the python scripts. Change-Id: I052a0aab3fb28dd1d78de1307edafda6b6c35e5f
080ed92e