got rid of print_error

This commit is contained in:
Jimbo77 2012-08-23 18:38:28 -07:00
parent a6239764d2
commit 25ad5fcd06
1 changed files with 1 additions and 2 deletions

View File

@ -166,8 +166,7 @@ def prompt_password(prompt, confirm=True):
password2 = getpass.getpass("Confirm: ")
if password != password2:
print_error("Error: Passwords do not match.")
sys.exit(1)
sys.exit("Error: Passwords do not match.")
else:
password = raw_input(prompt)