This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# © Copyright 2022 Hewlett Packard Enterprise Development LP | |
# All rights reserved. | |
# | |
# Creates the Docker image used for testing Ansible modules. | |
FROM rockylinux:8.5 | |
RUN \ | |
dnf module reset -y python36 && \ | |
dnf module enable -y python39 && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- dropbox.py | |
+++ dropbox.py | |
@@ -134,11 +134,12 @@ | |
FatalVisibleError("Platform not supported") | |
def is_dropbox_running(): | |
- pidfile = os.path.expanduser("~/.dropbox/dropbox.pid") | |
- | |
try: | |
- with open(pidfile, "r") as f: |