diff options
author | Simon Schampijer <simon@schampijer.de> | 2008-04-21 22:34:18 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2008-04-21 22:34:18 (GMT) |
commit | bf82033a6c1173565ae0a2e4d250a375b0b8a260 (patch) | |
tree | 1a30d6ff871d02e478ab41c137c9945b38a0fb99 /bin/sugar-launch | |
parent | a32795971290beadc9f44e4a6a5645a8fa6ad761 (diff) |
pylint bin
Diffstat (limited to 'bin/sugar-launch')
-rw-r--r-- | bin/sugar-launch | 3 |
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) |