From: Lars-Peter Clausen Date: Sat, 27 Jun 2009 16:23:21 +0000 (+0000) Subject: Add missing import. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=30d714cf7954250a6035bf2f323dd6eb0e3068e3;p=openwrt%2Fsvn-archive%2Farchive.git Add missing import. SVN-Revision: 16582 --- diff --git a/phone/fso-frameworkd/patches/020-fix-paths.patch b/phone/fso-frameworkd/patches/020-fix-paths.patch index 689ac914f0..85a0111a92 100644 --- a/phone/fso-frameworkd/patches/020-fix-paths.patch +++ b/phone/fso-frameworkd/patches/020-fix-paths.patch @@ -40,9 +40,11 @@ diff --git a/framework/subsystems/ogsmd/modems/ti_calypso/modem.py b/framework/s index dfe40ef..20bb36f 100644 --- a/framework/subsystems/ogsmd/modems/ti_calypso/modem.py +++ b/framework/subsystems/ogsmd/modems/ti_calypso/modem.py -@@ -14,10 +14,15 @@ Module: modem +@@ -14,10 +14,17 @@ Module: modem __version__ = "0.9.9.10" MODULE_NAME = "ogsmd.modems.ti_calypso" ++ ++import os.path +if os.path.exists("/sys/bus/platform/devices/gta02-pm-gsm.0"): + SYSFS_DEVICE = "gta02-pm-gsm.0"