summaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
authorBernd Zeimetz <bernd@bzed.de>2010-08-29 21:49:36 +0200
committerBernd Zeimetz <bernd@bzed.de>2010-08-29 21:50:08 +0200
commit04bb72a4a6ea96ee81524bac037d9adc28816e36 (patch)
tree0bf5cb34e46e8f57c0e61e2aa6782fbe68c7c9eb /gps
parentae29bdd7dc6228f6889f1c3617eb00e64bae9dc8 (diff)
downloadgpsd-04bb72a4a6ea96ee81524bac037d9adc28816e36.tar.gz
Fixing several Python identation errors.
Diffstat (limited to 'gps')
-rw-r--r--gps/fake.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gps/fake.py b/gps/fake.py
index 2ff5627d..1641215d 100644
--- a/gps/fake.py
+++ b/gps/fake.py
@@ -308,7 +308,7 @@ class DaemonInstance:
self.spawncmd = None
# Look for gpsd in GPSD_HOME env variable
- if os.environ.get('GPSD_HOME'):
+ if os.environ.get('GPSD_HOME'):
for path in os.environ['GPSD_HOME'].split(':'):
_spawncmd = "%s/gpsd" % path
if os.path.isfile(_spawncmd) and os.access(_spawncmd, os.X_OK):
@@ -316,7 +316,7 @@ class DaemonInstance:
break
# if we could not find it yet try PATH env variable for it
- if not self.spawncmd:
+ if not self.spawncmd:
if not '/usr/sbin' in os.environ['PATH']:
os.environ['PATH']=os.environ['PATH'] + ":/usr/sbin"
for path in os.environ['PATH'].split(':'):