rp

simple email tools
git clone https://git.parazyd.org/rp
Log | Files | Refs | README | LICENSE

commit 95b47238800fbf2e1a37feea3cad882fafe6817a
parent 56fb1ccad86422b7b083d72d1595f89a0aaee4d5
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 26 Jan 2019 14:34:58 +0100

Style amend in rpsync.

Diffstat:
Mbin/rpsync | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/bin/rpsync b/bin/rpsync @@ -20,8 +20,8 @@ if not PROFILE: def usage(): """ Usage function """ - print("* Usage: %s [-n]" % argv[0]) - print(" -n: dry run") + print('* Usage: %s [-n]' % argv[0]) + print(' -n: dry run') exit(1) @@ -76,14 +76,14 @@ def main(): dryrun = False if '-n' in argv: - print("* Dry run enabled") + print('* Dry run enabled') dryrun = True config = parsecfg() rhost = config['rnet'].split('!')[1] rport = config['rnet'].split('!')[2] - print("* Connecting to %s:%s" % (rhost, rport)) + print('* Connecting to %s:%s' % (rhost, rport)) imap = imapconnect(rhost, rport) if not imap: exit(1) @@ -114,4 +114,4 @@ if __name__ == '__main__': T1 = time() main() T2 = time() - print("* Total time: %.2f seconds" % (T2 - T1)) + print('* Total time: %.2f seconds' % (T2 - T1))