[krb5-auth-dialog] Fix accidental Python



commit 870a1c889c8014d2a0a042fd6eba173d1e1ece7e
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Thu Jan 12 15:39:42 2017 +0100

    Fix accidental Python
    
    Signed-off-by: Guido Günther <agx sigxcpu org>

 src/ka-kerberos.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ka-kerberos.c b/src/ka-kerberos.c
index 14fb03e..ab94b62 100644
--- a/src/ka-kerberos.c
+++ b/src/ka-kerberos.c
@@ -323,7 +323,7 @@ ka_get_service_tickets (GtkListStore * tickets, gboolean hide_conf_tickets)
 
         /* if the file doesn't exist, it's not an error if we can't
          * parse it */
-        if (!g_file_test (ka_ccache_filename (), G_FILE_TEST_EXISTS))
+        if (!g_file_test (ka_ccache_filename (), G_FILE_TEST_EXISTS)) {
             gtk_list_store_append (tickets, &iter);
             gtk_list_store_set (tickets, &iter,
                                 PRINCIPAL_COLUMN, _("Your ticket cache is currently empty"),
@@ -331,6 +331,7 @@ ka_get_service_tickets (GtkListStore * tickets, gboolean hide_conf_tickets)
                                 RENEWABLE_COLUMN, FALSE,
                                 PROXIABLE_COLUMN, FALSE, -1);
             retval = TRUE;
+        }
         goto out;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]