Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin/sugar-launch
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-04-21 22:34:18 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-04-21 22:34:18 (GMT)
commitbf82033a6c1173565ae0a2e4d250a375b0b8a260 (patch)
tree1a30d6ff871d02e478ab41c137c9945b38a0fb99 /bin/sugar-launch
parenta32795971290beadc9f44e4a6a5645a8fa6ad761 (diff)
pylint bin
Diffstat (limited to 'bin/sugar-launch')
-rw-r--r--bin/sugar-launch3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/sugar-launch b/bin/sugar-launch
index a0a5387..7765ff1 100644
--- a/bin/sugar-launch
+++ b/bin/sugar-launch
@@ -20,7 +20,6 @@ import os
import sys
from optparse import OptionParser
-from sugar import env
from sugar.activity import activityfactory
from sugar.activity.registry import get_registry
@@ -46,7 +45,7 @@ def _which(exec_file):
if 'PATH' in os.environ:
envpath = os.environ['PATH']
else:
- envpath = defpath
+ return None
for path in envpath.split(os.pathsep):
fullname = os.path.join(path, exec_file)