Create unique identifier in BootstrapInformation

Can be used to uniquely name temporary resources
This commit is contained in:
Anders Ingemann 2013-07-13 15:01:56 +02:00
parent 135ebfbb95
commit 59bae6e497

View file

@ -3,4 +3,6 @@
class BootstrapInformation(object):
def __init__(self, manifest=None, debug=False):
self.manifest = manifest
self.debug = debug
self.debug = debug
import random
self.run_id = random.randrange(16**8)