Skip to content
Snippets Groups Projects
Commit 4cab6d62 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix pep8 error

parent a9c9d939
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ class Unix(OSBase):
group.append(':'.join(fields))
self.g.write('/etc/group', '\n'.join(group) + '\n')
# Remove home directories
for home in [field[5] for field in removed_users.values()]:
if self.g.is_dir(home) and home.startswith('/home/'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment