Skip to content

Commit

Permalink
Fix format file.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoGuadrini committed Jul 25, 2019
1 parent 7ef8340 commit 8f88b6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bb.man
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Manpage for Butterfly Backup.
.\" Contact [email protected] to correct errors or typos.
.TH man 1 "23 Jul 2019" "1.6.3" "bb man page"
.TH man 1 "25 Jul 2019" "1.7.0" "bb man page"
.SH NAME
bb \- Butterfly Backup - backup/restore/archive tool , agentless
.SH SYNOPSIS
Expand Down
12 changes: 6 additions & 6 deletions bb.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
from utility import print_verbose

# region Global Variables
VERSION = '1.6.3'
VERSION = '1.7.0'


# endregion


Expand Down Expand Up @@ -153,7 +155,7 @@ def run_in_parallel(fn, commands, limit):

for command, plog in zip(commands, logs):
# Run the function
proc = pool.apply_async(func=fn, args=(command, ))
proc = pool.apply_async(func=fn, args=(command,))
jobs.append(proc)
print('Start {0} {1}'.format(args.action, plog['hostname']))
print_verbose(args.verbose, "rsync command: {0}".format(command))
Expand Down Expand Up @@ -620,7 +622,7 @@ def count_full(config, name):
if config:
for bid in config.sections():
if ((config.get(bid, 'type') == 'Full' or
config.get(bid, 'type') == 'Incremental') and
config.get(bid, 'type') == 'Incremental') and
config.get(bid, 'name') == name):
count += 1
return count
Expand Down Expand Up @@ -1007,9 +1009,7 @@ def parse_arguments():

# Create principal parser
parser_object = argparse.ArgumentParser(prog='bb', description=utility.PrintColor.BOLD + 'Butterfly Backup'
+ utility.PrintColor.END, epilog=check_rsync(),
parents=[parent_parser])

+ utility.PrintColor.END, epilog=check_rsync(), parents=[parent_parser])
# Create sub_parser "action"
action = parser_object.add_subparsers(title='action', description='Valid action', help='Available actions',
dest='action')
Expand Down

0 comments on commit 8f88b6a

Please sign in to comment.