Fix assign-location.py on Python 3.8+

Python 3.8+ removed time.clock() in favor of various other
clock options. This patch fixes assign-location.py to be
Python 3.8+ compatible by using time.time() instead.
We use this in other Python scripts for similar deadline
functionality.

Change-Id: I21f9f8bc519a7286d17a012404b074494461e571
Reviewed-on: http://gerrit.cloudera.org:8080/16461
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
Reviewed-by: Andrew Wong <awong@cloudera.com>
Tested-by: Grant Henke <granthenke@apache.org>
1 file changed