mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 08:08:55 +02:00
Minor bugfixes (#7891)
* Fix dangerous default argument * Remove unused imports * Remove unnecessary comprehension * Use literal syntax to create data structure * Use literal syntax instead of function calls to create data structure Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
parent
316e4640f8
commit
8e4dc0a48c
Executable → Regular
+1
-1
@@ -103,7 +103,7 @@ def _requirements_from_one_distribution(distribution, verbose):
|
||||
os.chmod(script, 0o755)
|
||||
|
||||
_write_to(authoritative_constraints, '\n'.join(
|
||||
['{0}=={1}'.format(package, version) for package, version in AUTHORITATIVE_CONSTRAINTS.items()]))
|
||||
'{0}=={1}'.format(package, version) for package, version in AUTHORITATIVE_CONSTRAINTS.items()))
|
||||
|
||||
command = ['docker', 'run', '--rm', '--cidfile', cid_file,
|
||||
'-v', '{0}:/tmp/certbot'.format(CERTBOT_REPO_PATH),
|
||||
|
||||
Reference in New Issue
Block a user