summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/rsync.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:47 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:19:47 +0000
commit54b21cf54c51dfe40784a8096f84c7a80b015bd4 (patch)
tree4763692624732650daf1a9e02c91576d3f7ee8d0 /lib/custodian/protocoltest/rsync.rb
parenta22b8e96ead33b0f97ed5243dbad7f7b6cd5135d (diff)
Removed spaces inside parenthesis.
Diffstat (limited to 'lib/custodian/protocoltest/rsync.rb')
-rw-r--r--lib/custodian/protocoltest/rsync.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/custodian/protocoltest/rsync.rb b/lib/custodian/protocoltest/rsync.rb
index 0f3c288..89f4e65 100644
--- a/lib/custodian/protocoltest/rsync.rb
+++ b/lib/custodian/protocoltest/rsync.rb
@@ -22,7 +22,7 @@ module Custodian
#
# Constructor
#
- def initialize( line )
+ def initialize(line)
#
# Save the line.
@@ -32,7 +32,7 @@ module Custodian
#
# If the target is an URL then strip to the hostname.
#
- @host = line.split( /\s+/)[0]
+ @host = line.split(/\s+/)[0]
if @host =~ /^rsync:\/\/([^\/]+)\/?/
@host = $1.dup
end
@@ -78,7 +78,7 @@ module Custodian
# reset the error, in case we were previously executed.
@error = nil
- run_test_internal( @host, @port, /^@RSYNCD/, true )
+ run_test_internal(@host, @port, /^@RSYNCD/, true)
end