Skip to content

Commit

Permalink
Flake8 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SivolcC committed Sep 23, 2020
1 parent b2b54fb commit 323348e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vaultlocker/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,10 @@ def encrypt(args, config):
:param: args: argparser generated cli arguments
:param: config: configparser object of vaultlocker config
"""
if (os.path.exists('/usr/lib/systemd/system/[email protected]') or
os.path.exists('/etc/systemd/system/[email protected]')):
if os.path.exists(
"/usr/lib/systemd/system/[email protected]"
) or os.path.exists(
"/etc/systemd/system/[email protected]"):
_do_it_with_persistence(_encrypt_block_device, args, config)
else:
raise FileNotFoundError("""
Expand Down

0 comments on commit 323348e

Please sign in to comment.