Skip to content

Comments

Add conditional backup and reinstallation#272

Merged
alichtman merged 18 commits intomasterfrom
redo_config
May 13, 2020
Merged

Add conditional backup and reinstallation#272
alichtman merged 18 commits intomasterfrom
redo_config

Conversation

@alichtman
Copy link
Owner

No description provided.

@alichtman alichtman force-pushed the redo_config branch 3 times, most recently from 942ae56 to 3c7e4af Compare May 13, 2020 02:33
@alichtman
Copy link
Owner Author

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

Complexity increasing per file
==============================
- shallow_backup/config.py  5
         

Complexity decreasing per file
==============================
+ shallow_backup/upgrade.py  -7
         

See the complete overview on Codacy


def run_cmd_return_bool(command: str) -> bool:
"""Run a bash command and return True if the exit code is 0, False otherwise"""
return os.system(f"/bin/bash -c '{command}'") == 0
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alichtman alichtman merged commit d28e4e5 into master May 13, 2020
@alichtman alichtman deleted the redo_config branch May 13, 2020 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant