[MERGE][1.0] disable python imports from cwd (problem with python2.4 @ win32: bug #53478)

Martin Pool mbp at sourcefrog.net
Tue Nov 27 08:02:45 GMT 2007


> > So in summary:
> >
> >   if '' in sys.path:
> >     sys.path.remove('')
> >
> > is good. And I would start with that, and see if it gets you to what you need,
> > without checking getcwd().
>
> I don't think it will help - it's the same on Ubuntu as Alexander
> reports on Windows.

No, I'm wrong, it's just the script directory, not the cwd.

-- 
Martin



More information about the bazaar mailing list