Fix pep8 errors arising in PR builds

PR build is using pep8 1.7.0 but master is using 1.5.7; curious,
but this will fix it either way.

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
This commit is contained in:
Jesse Szwedko 2016-01-12 19:26:48 +00:00 committed by Andrew Garrett
parent 7f9ee9d22c
commit 673d2a520d

View file

@ -1,5 +1,7 @@
import os.path
import glob
import random
import string
from bootstrapvz.common.tools import load_data
partial_json = glob.glob(os.path.join(os.path.dirname(__file__), '*.yml'))
@ -13,8 +15,6 @@ for path in partial_json + partial_yaml:
raise Exception(msg)
partials[key] = load_data(path)
import random
import string
pool = string.ascii_uppercase + string.ascii_lowercase + string.digits
random_password = ''.join(random.choice(pool) for _ in range(16))
partials['root_password']['plugins']['root_password']['password'] = random_password