From a908dfa977b8e48ed4fab1d4171d6dbc3277e975 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 6 Feb 2012 17:21:18 -0800 Subject: [PATCH] Pep8 fixups. --- devstack/shell.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devstack/shell.py b/devstack/shell.py index a2c52054..0121674e 100644 --- a/devstack/shell.py +++ b/devstack/shell.py @@ -158,11 +158,13 @@ def islink(path): def joinpths(*paths): return os.path.join(*paths) + def _get_suids(): uid = os.environ.get('SUDO_UID') gid = os.environ.get('SUDO_GID') return (uid, gid) + def _gen_password(pw_len): if pw_len <= 0: msg = "Password length %s can not be less than or equal to zero" % (pw_len)