mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
treewide: fix typos
This commit is contained in:
committed by
Benjamin Berg
parent
25a97c8276
commit
ab8dcfaa61
@ -749,7 +749,7 @@ _fprint_device_check_for_username (FprintDevice *rdev,
|
|||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
g_set_error (error, FPRINT_ERROR, FPRINT_ERROR_INTERNAL,
|
g_set_error (error, FPRINT_ERROR, FPRINT_ERROR_INTERNAL,
|
||||||
"Could not get conection unix user ID: %s",
|
"Could not get connection unix user ID: %s",
|
||||||
local_error->message);
|
local_error->message);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -55,7 +55,7 @@ typedef enum {
|
|||||||
|
|
||||||
/* Enum of possible permissions, orders and nick matter here:
|
/* Enum of possible permissions, orders and nick matter here:
|
||||||
- The order controls the priority of a required permission when various are
|
- The order controls the priority of a required permission when various are
|
||||||
accepted: the lowest the value, the more priorty it has.
|
accepted: the lowest the value, the more priority it has.
|
||||||
- Nick must match the relative polkit rule.
|
- Nick must match the relative polkit rule.
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
@ -467,7 +467,7 @@ class FPrintdVirtualDeviceBaseTest(FPrintdTest):
|
|||||||
def get_secondary_bus_and_device(self, claim=None):
|
def get_secondary_bus_and_device(self, claim=None):
|
||||||
addr = os.environ['DBUS_SYSTEM_BUS_ADDRESS']
|
addr = os.environ['DBUS_SYSTEM_BUS_ADDRESS']
|
||||||
|
|
||||||
# Get a separat bus connection
|
# Get a separate bus connection
|
||||||
bus = Gio.DBusConnection.new_for_address_sync(addr,
|
bus = Gio.DBusConnection.new_for_address_sync(addr,
|
||||||
Gio.DBusConnectionFlags.MESSAGE_BUS_CONNECTION |
|
Gio.DBusConnectionFlags.MESSAGE_BUS_CONNECTION |
|
||||||
Gio.DBusConnectionFlags.AUTHENTICATION_CLIENT, None, None)
|
Gio.DBusConnectionFlags.AUTHENTICATION_CLIENT, None, None)
|
||||||
@ -937,7 +937,7 @@ class FPrintdVirtualDeviceClaimedTest(FPrintdVirtualDeviceBaseTest):
|
|||||||
self.assertFalse(os.path.exists(os.path.join(self.state_dir, 'testuser/virtual_image/0/7')))
|
self.assertFalse(os.path.exists(os.path.join(self.state_dir, 'testuser/virtual_image/0/7')))
|
||||||
|
|
||||||
def test_enroll_invalid_storage_dir(self):
|
def test_enroll_invalid_storage_dir(self):
|
||||||
# Directory wil not exist yet
|
# Directory will not exist yet
|
||||||
os.makedirs(self.state_dir, mode=0o500)
|
os.makedirs(self.state_dir, mode=0o500)
|
||||||
self.addCleanup(os.chmod, self.state_dir, mode=0o700)
|
self.addCleanup(os.chmod, self.state_dir, mode=0o700)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user