mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 16:47:14 -04:00
Removed unnecessary blank lines after some comments
Former-commit-id: 3ebf6ef03d1ff08f5792d9637ef008c9dfbdcaa1 Former-commit-id: 4c3b2e8e44a743575d143a4c18e3b11cc69ab000
This commit is contained in:
@@ -7,7 +7,6 @@ home = expanduser("~")
|
|||||||
|
|
||||||
|
|
||||||
# REMOTE
|
# REMOTE
|
||||||
|
|
||||||
# prints all necessary remote data to stdout
|
# prints all necessary remote data to stdout
|
||||||
def remote_list_gen(_client_device_name, _remote_dir):
|
def remote_list_gen(_client_device_name, _remote_dir):
|
||||||
# deletions
|
# deletions
|
||||||
@@ -31,7 +30,6 @@ def remote_list_gen(_client_device_name, _remote_dir):
|
|||||||
|
|
||||||
|
|
||||||
# HYBRID
|
# HYBRID
|
||||||
|
|
||||||
# deletes a file or folder and/or marks it for deletion upon syncing
|
# deletes a file or folder and/or marks it for deletion upon syncing
|
||||||
def delete(_file_path, _target_database):
|
def delete(_file_path, _target_database):
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
@@ -64,7 +62,6 @@ def get_local_data(_directory, _device):
|
|||||||
|
|
||||||
|
|
||||||
# LOCAL
|
# LOCAL
|
||||||
|
|
||||||
# captures and returns all necessary data from the remote server
|
# captures and returns all necessary data from the remote server
|
||||||
def remote_list_fetch(_user_data):
|
def remote_list_fetch(_user_data):
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ home = expanduser("~")
|
|||||||
|
|
||||||
|
|
||||||
# UTILITY FUNCTIONS
|
# UTILITY FUNCTIONS
|
||||||
|
|
||||||
# generates and prints full entry list
|
# generates and prints full entry list
|
||||||
def entry_list_gen(_directory=f"{home}/.local/share/sshyp/"):
|
def entry_list_gen(_directory=f"{home}/.local/share/sshyp/"):
|
||||||
from textwrap import fill
|
from textwrap import fill
|
||||||
@@ -207,7 +206,6 @@ def copy_id_check(_port, _username_ssh, _ip, _client_device_id):
|
|||||||
|
|
||||||
|
|
||||||
# ARGUMENT-SPECIFIC FUNCTIONS
|
# ARGUMENT-SPECIFIC FUNCTIONS
|
||||||
|
|
||||||
# runs configuration wizard
|
# runs configuration wizard
|
||||||
def tweak():
|
def tweak():
|
||||||
from os import symlink
|
from os import symlink
|
||||||
|
|||||||
Reference in New Issue
Block a user