﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
108	"set base to ""."" if not running from source"	Zooko		"This was necessary to make {{{flogtool}}} run after installing it on Windows:

{{{
$ python `cygpath -m \`type -p hg\`` diff
diff -r 66eb3cffca75 bin/flogtool
--- a/bin/flogtool      Wed Oct 15 13:41:59 2008 -0700
+++ b/bin/flogtool      Sat Jan 03 12:59:56 2009 -0700
@@ -6,6 +6,8 @@ where = os.path.realpath(sys.argv[0]).sp
 where = os.path.realpath(sys.argv[0]).split(os.sep)
 if len(where) >= 2 and where[-2] == ""bin"":
     base = os.sep.join(where[:-2])
+else:
+    base = "".""
 if (os.path.exists(os.path.join(base, ""setup.py"")) and
     os.path.exists(os.path.join(base, ""foolscap""))):
     sys.path.insert(0, base)

}}}"	defect	closed	major	0.4.0	logging	0.3.0	fixed	patch	
