# HG changeset patch # User Jeff Hammel # Date 1330127606 28800 # Node ID 8c8b7482772fe3ad47c7d888903ce997a5cc85fd # Parent 6d27c2136163a74c49df2eafd7e83333499c6224 fix a few failures but still failing diff -r 6d27c2136163 -r 8c8b7482772f paint/package.py --- a/paint/package.py Fri Feb 24 15:50:31 2012 -0800 +++ b/paint/package.py Fri Feb 24 15:53:26 2012 -0800 @@ -47,8 +47,8 @@ def fetch(self): """fetch from remote source to a temporary file""" + resource = urllib2.urlopen(self.src) fd, filename = tempfile.mkstemp() - resource = urllib2.urlopen(self.src) os.write(fd, resource.read()) os.close(fd) return filename @@ -85,7 +85,7 @@ return self._egg_info directory = self.path() - assert os.path.exists(os.path.join(path, 'setup.py')) + assert os.path.exists(os.path.join(directory, 'setup.py')) # setup the egg info call([sys.executable, 'setup.py', 'egg_info'], cwd=directory, stdout=PIPE)