--=-8anKH7tppRVhD6V7QANW Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > >> It is quite reasonable. What about make public CVS? > >> I think it's need not only for me :) > SV> public cvs is not entirely secure and it makes me edgy. >=20 > nightly builds ? well that is trivial to accomplish :) > Nono! :) > You need only add to package structure a new property - weight, > then you download package - you selet package with same name but with=20 > greater weight. > I can produce patch if anybody except me need it. I'm not even certain what you mean now. Can you explain that? =20 > >> also as i say - we make sort of abstraction for downloading. > >> It's very usefull cause original urllib url handlers to weak for serio= us > >> work. > look: >=20 > def urlgrab(url, filename, grab_mode =3D reget_mode.SMART): > try: > _downloader =3D downloader(filename, url, grab_mode) > except IOError, e: > log(5, 'Error opening local file "%s" to download from "%s"' % (f= ilename, url)) > =20 > if grab_mode !=3D reget_mode.AGAIN: > try: > _f_size =3D _downloader.file_size() > if _f_size > 0: > log(5, 'Continue "%s" %s download from "%s"' % (filename,= _f_size, url)) > except: > pass > else: > log(5, 'Forced download "%s" from "%s"' % (filename, url)) > try: > _downloader.open() > _downloader.get() > _downloader.close() > except IOError, e: > errorlog(0, 'IOError: %s, URL: %s' % (e, url)) > sys.exit(1) > return filename > ------------------------- > do you understand what i mean ? > it's more abstractive and look and work much better for me. >=20 I don't see how the above made the url grabbing easier to read/understand. and where is _downloader? I guess I need to see more to understand what/why you did that. -sv --=-8anKH7tppRVhD6V7QANW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA9G9kf1Aj3x2mIbMcRAuYHAJ9WSXILTSd5klcNsShEFoCBIQUuZwCfWsH2 pVjD3GZXCad1CzKH588ZTF8= =8DXB -----END PGP SIGNATURE----- --=-8anKH7tppRVhD6V7QANW--