1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-03 18:16:17 +01:00
github.com_openSUSE_osc/osc
Marcus Huewe 3262c05e35 Handle a callable in credentials._LazyPassword.__str__
It is possible that the self._pwfunc() call returns a callable. For
instance, if the keyutils.osc.OscKernelKeyringBackend is configured
in the oscrc. Hence, check in credentials._LazyPassword.__str__
if the returned password is a callable and, if so, call it. Moreover,
a deprecation warning is printed. Eventually, this compat code will
be removed again.

This is a follow-up commit for commit
784d330f20 ("Only prompt for a password
if the server asks for it") (actually, it is a regression that was
not caught during the review...).
2022-04-14 01:47:10 +02:00
..
util support zst compressed control files in deb archives 2021-10-26 07:29:43 +02:00
__init__.py replace urlgrabber to enable python3 compatibility 2018-10-19 09:31:37 +02:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py Report a config error when trying to load credentials_mgr_class that does't exist 2022-03-28 09:49:55 +02:00
build.py Add support to manually override download url locations. 2022-03-17 09:48:57 +10:00
checker.py Resolve PEP8 issue W291 2014-08-12 15:01:16 +02:00
cmdln.py Merge pull request #329 from andrewshadura/master 2022-03-15 09:45:24 +01:00
commandline.py Merge pull request #850 from lethliel/fix_issue_849 2022-04-07 10:43:43 +02:00
conf.py Merge commit 'refs/pull/1022/head' of github.com:openSUSE/osc 2022-04-11 15:27:14 +02:00
core.py Revert "Merge pull request #856 from bmwiedemann/verifymd5" 2022-04-12 11:00:00 +02:00
credentials.py Handle a callable in credentials._LazyPassword.__str__ 2022-04-14 01:47:10 +02:00
fetch.py Re-download file from API when hdrmd5 doesn't match 2022-02-28 09:28:32 +01:00
grabber.py fix broken URLError handling in OscMirrorGroup.urlgrab() 2018-11-06 13:29:17 +01:00
meter.py Fix crash on terminal resize during download 2022-01-03 11:47:33 +01:00
OscConfigParser.py Rename SafeConfigParser to ConfigParser 2020-02-07 12:04:49 +01:00
oscerr.py Report a config error when trying to load credentials_mgr_class that does't exist 2022-03-28 09:49:55 +02:00
oscssl.py Use correct appname for trusted-certs store 2019-07-28 14:59:14 +02:00
oscsslexcp.py - remove shebang line to make rpmlint happy 2010-03-21 22:57:06 +01:00