Remove debug output

This commit is contained in:
Janek Bevendorff 2015-10-21 16:08:38 +02:00
parent c3977449c3
commit 0a10d95252

View file

@ -35,8 +35,7 @@ def check_oldpw(accountname, oldpass):
oldhash = m.group(1)
hashtype = m.group(2)
salt = m.group(3)
except CalledProcessError as e:
print(e)
except CalledProcessError:
return False
opensslargs = ['openssl', 'passwd', '-' + hashtype, '-salt', salt, oldpass]