View | Details | Raw Unified | Return to bug 48825
Collapse All | Expand All

(-)a/src/daemon.c (-1 / +2 lines)
Lines 304-310 entry_generator_fgetpwent (Daemon *daemon, Link Here
304
                pwent = fgetpwent (generator_state->fp);
304
                pwent = fgetpwent (generator_state->fp);
305
                if (pwent != NULL) {
305
                if (pwent != NULL) {
306
                        shadow_entry_buffers = g_hash_table_lookup (generator_state->shadow_users, pwent->pw_name);
306
                        shadow_entry_buffers = g_hash_table_lookup (generator_state->shadow_users, pwent->pw_name);
307
307
                        *spent = NULL;
308
                        
308
                        if (shadow_entry_buffers != NULL) {
309
                        if (shadow_entry_buffers != NULL) {
309
                                *spent = &shadow_entry_buffers->spbuf;
310
                                *spent = &shadow_entry_buffers->spbuf;
310
                        }
311
                        }
(-)a/tests/test-libaccountsservice.py (-2 / +2 lines)
Lines 115-122 class TestAccountsServicePreExistingUser(AccountsServiceTestBase): Link Here
115
            self.assertTrue(user_objects[instance].is_loaded())
115
            self.assertTrue(user_objects[instance].is_loaded())
116
116
117
        for user in user_objects:
117
        for user in user_objects:
118
            self.assertEquals(user.get_user_name(), 'pizza')
118
            self.assertEqual(user.get_user_name(), 'pizza')
119
            self.assertEquals(user.get_uid(), 2001)
119
            self.assertEqual(user.get_uid(), 2001)
120
120
121
@unittest.skipUnless(have_accounts_service,
121
@unittest.skipUnless(have_accounts_service,
122
                     'AccountsService gi introspection not available')
122
                     'AccountsService gi introspection not available')

Return to bug 48825