aboutsummaryrefslogtreecommitdiffstats
path: root/minidinstall/misc.py
Commit message (Collapse)AuthorAge
* Update for Python 3.12LibravatarKrytarik Raido2024-05-18
|
* Various improvements in coding style.LibravatarKrytarik Raido2018-04-03
|
* Port to Python 3LibravatarUnit 1932018-03-14
|
* popen2 is deprecated in python 2.6LibravatarChristoph Goehre2010-10-10
| | | | So now we only use the internal hash algorithm provided by hashlib.
* hashlib can handle sha256, so we didn't need python-crypto anymoreLibravatarChristoph Goehre2010-08-22
|
* replace deprecated md5 and sha module with hashlibLibravatarChristoph Goehre2010-08-22
|
* debug logging for python-internal hash generationLibravatarChristoph Goehre2008-11-17
|
* expand tabs and remove tailing whitespacesLibravatarChristoph Goehre2008-09-20
|
* fix crash in hash generation for Release fileLibravatarChristoph Goehre2008-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | If mini-dinstall realise there is no child processes from the external program, it should inform the logger and go on. But I forget to add the self statement before the logger and so it crashed down. Apr 04 15:12:49 mini-dinstall [-1358341200] ERROR: Unhandled exception; shutting down Traceback (most recent call last): File "/usr/bin/mini-dinstall", line 1165, in run self._gen_release_all(True) File "/usr/bin/mini-dinstall", line 1158, in _gen_release_all self._gen_release(self._arches, force) File "/usr/bin/mini-dinstall", line 1249, in _gen_release self._gen_release_impl(self._arches, force) File "/usr/bin/mini-dinstall", line 1344, in _gen_release_impl self._do_hash(hash, indexfiles, f) File "/usr/bin/mini-dinstall", line 1150, in _do_hash h = self._get_file_sum(hash, absfile) File "/usr/bin/mini-dinstall", line 1133, in _get_file_sum ret = misc.get_file_sum(self, type, filename) File "/usr/lib/python2.3/site-packages/minidinstall/misc.py", line 51, in get_file_sum ret = _get_external_file_sum(self, type, filename) File "/usr/lib/python2.3/site-packages/minidinstall/misc.py", line 93, in _get_external_file_sum logger.warn("Ignoring missing child proccess") NameError: global name 'logger' is not defined
* merge hash generation for Release filesLibravatarChristoph Goehre2008-02-02
| | | | | | _get_file_sum() in mini-dinstall and _get_file_md5sum() in ChangeFile.py are really the same code. So I strip it together into get_file_sum() in misc.py.
* use templates to generate success emailLibravatarChristoph Goehre2007-12-10
|
* Minor changes for package buildingLibravatarChristoph Goehre2007-09-30
* I'm the new Maintainer (Closes: #414621) * build package with cdbs * add XS-Vcs tags to git archive * move python-dev and python-support to B-Depends (instead of B-D-I) to clam lintian