From 786f3f9a89d13adcf5e742c9a7e1630d3f6b57f1 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 10 Feb 2019 12:11:01 +0100 Subject: [PATCH] Fix typos l was renamed to lc in most places. --- ud-mailgate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ud-mailgate b/ud-mailgate index 5ec68d2..b40be70 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -484,7 +484,7 @@ def DoConfirmSudopassword(Str, SudoPasswd): return "got confirm for sudo password %s on host(s) %s, auth code %s" % (uuid, hosts, hmac) -def FinishConfirmSudopassword(l, uid, Attrs, SudoPasswd): +def FinishConfirmSudopassword(lc, uid, Attrs, SudoPasswd): result = "\n" if len(SudoPasswd) == 0: @@ -599,7 +599,7 @@ def HandleChange(Reply, DnRecord, Key): if CommitChanges == 1 and len(SudoPasswd) > 0: # only if we are still good to go try: - Res = FinishConfirmSudopassword(l, GetAttr(DnRecord, "uid"), Attrs, SudoPasswd) + Res = FinishConfirmSudopassword(lc, GetAttr(DnRecord, "uid"), Attrs, SudoPasswd) if Res is not None: Result += Res + "\n" except Error, e: -- 2.20.1