Pep8 fixups.

This commit is contained in:
Joshua Harlow 2012-02-06 17:21:18 -08:00
parent 178889f007
commit a908dfa977

View File

@ -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)