Skip to content

Commit 3a57b44

Browse files
committed
Make py client shutdown public
1 parent 9f27a5c commit 3a57b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ohloh_scm/py_bridge/py_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ def start
88
open_repository
99
end
1010

11-
private
12-
1311
def shutdown
1412
send_command('QUIT')
1513
[@stdin, @stdout, @stderr].reject(&:closed?).each(&:close)
1614
Process.waitpid(@pid, Process::WNOHANG)
1715
end
1816

17+
private
18+
1919
def send_command(cmd)
2020
# send the command
2121
@stdin.puts cmd

0 commit comments

Comments
 (0)