From bf82033a6c1173565ae0a2e4d250a375b0b8a260 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Mon, 21 Apr 2008 22:34:18 +0000 Subject: pylint bin --- (limited to 'bin/sugar-launch') 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) -- cgit v0.9.1