From 040daab2cbe6326e7a858d19763d631a0792c651 Mon Sep 17 00:00:00 2001 From: Sebastian Goscik Date: Tue, 23 Feb 2016 10:27:45 +0000 Subject: [PATCH] Target: Fixed fstab parsing --- devlib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/target.py b/devlib/target.py index 5837ecb..1e8a98b 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -19,7 +19,7 @@ from devlib.utils.misc import ABI_MAP, get_cpu_name, ranges_to_list, escape_doub from devlib.utils.types import integer, boolean, bitmask, identifier, caseless_string -FSTAB_ENTRY_REGEX = re.compile(r'(\S+) on (\S+) type (\S+) \((\S+)\)') +FSTAB_ENTRY_REGEX = re.compile(r'(\S+) on (.+) type (\S+) \((\S+)\)') ANDROID_SCREEN_STATE_REGEX = re.compile('(?:mPowerState|mScreenOn|Display Power: state)=([0-9]+|true|false|ON|OFF)', re.IGNORECASE) ANDROID_SCREEN_RESOLUTION_REGEX = re.compile(r'mUnrestrictedScreen=\(\d+,\d+\)'