Fixed typo in user remove comment.

development
Shawn Davis 4 years ago
parent b191df4209
commit a4b6985aac
  1. 2
      scripttease/library/overlays/ubuntu.py

@ -299,7 +299,7 @@ def user(name, groups=None, home=None, op="add", password=None, **kwargs):
return Command("\n".join(a), **kwargs) return Command("\n".join(a), **kwargs)
elif op == "remove": elif op == "remove":
kwargs.setdefault("comment", "create a user named %s" % name) kwargs.setdefault("comment", "remove a user named %s" % name)
return Command("deluser %s" % name, **kwargs) return Command("deluser %s" % name, **kwargs)
else: else:
raise NameError("Unsupported or unrecognized operation: %s" % op) raise NameError("Unsupported or unrecognized operation: %s" % op)

Loading…
Cancel
Save