Pep8 fixups.
This commit is contained in:
parent
178889f007
commit
a908dfa977
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user