Skip to content

Commit 989bba2

Browse files
committed
Fixes to match linter.
1 parent d80c98d commit 989bba2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

simplified_openvpn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def generate_config_files(self, verbose=True):
170170

171171
# Clean up.
172172
self.cleanup_client_certificates()
173-
173+
174174
if verbose:
175175
print('> Client "' + self._config.slug + '" was successfully created.')
176176

@@ -181,7 +181,7 @@ def insert_share_hash(self, verbose=True):
181181
if verbose:
182182
print('> Share Hash: ' + self._config.share_hash)
183183

184-
def rotate_share_hashes(self, verbose=True):
184+
def rotate_share_hashes(self):
185185
"""Generates share hashes for clients who can be found in database."""
186186
sovpn_data = SimplifiedOpenvpnData()
187187
slugs = sovpn_data.get_all_client_slugs()

simplified_openvpn_helper.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,3 @@ def generate_share_hash(slug, sovpn_share_salt=''):
8787
feed = (sovpn_share_salt + slug).encode('utf-8')
8888
share_hash = hashlib.sha256(feed).hexdigest()
8989
return share_hash
90-

sovpn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
3+
# pylint: disable=W0621
34

45
"""Bootstrap file and entry point for Simplified Openvpn."""
56

0 commit comments

Comments
 (0)