Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Automatically Removed Whitespace #1

Open
wants to merge 1 commit into from

0 participants

@GunioRobot

Hi there!

This is WhitespaceBot. I'm an open-source robot that removes trailing white space in your code.

Why whitespace? Whitespace is an eyesore for developers who use text editors with dark themes. It's not a huge deal, but it's a bit annoying if you use Vim in a terminal. Really, I'm just a proof of concept - GitHub's V3 API allows robots to automatically improve open source projects, and that's really cool. Hopefully, somebody, maybe you!, will fork me and make me even more useful.

I've only cleaned your most popular project, and I've added you to a list of users not to contact again, so you won't get any more pull requests from me unless you ask. If I'm misbehaving, please email my owner and tell him to turn me off! If this is pull request is of no use to you, please just ignore it.

Thanks!
WhitespaceBot.

Gun.io Whitespace Robot Remove whitespace [WhitespaceBot] bee461c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 29, 2012
  1. Remove whitespace [WhitespaceBot]

    Gun.io Whitespace Robot authored
This page is out of date. Refresh to see the latest.
View
2  agent-rpm/src/main/rpm/edist_agent.init
@@ -88,7 +88,7 @@ case "$1" in
# 3 - service not running (unused)
# 4 - service status unknown :-(
# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
-
+
# NOTE: checkproc returns LSB compliant status values.
/sbin/checkproc -p $PIDFILE $BEAMEXE
# NOTE: rc_status knows that we called this init script with
View
12 agent-rpm/src/main/rpm/edist_agent.spec
@@ -19,9 +19,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: erlang facter sudo
-%if 0%{?suse_version} > 1110
-Requires(pre): pwdutils
-%else
+%if 0%{?suse_version} > 1110
+Requires(pre): pwdutils
+%else
Requires(pre): shadow-utils
%endif
@@ -38,8 +38,8 @@ Authors
%install
mvn install -DoutputDirectory=$RPM_BUILD_ROOT%{rootdir}
-install -d -m 755 $RPM_BUILD_ROOT/%{logdir}
-install -d -m 755 $RPM_BUILD_ROOT/%{homedir}
+install -d -m 755 $RPM_BUILD_ROOT/%{logdir}
+install -d -m 755 $RPM_BUILD_ROOT/%{homedir}
mkdir -p $RPM_BUILD_ROOT/etc
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
@@ -52,7 +52,7 @@ cat > $RPM_BUILD_ROOT/etc/edist_agent.config <<EOF
].
EOF
-cat > $RPM_BUILD_ROOT/%{_sbindir}/%{name} <<EOF
+cat > $RPM_BUILD_ROOT/%{_sbindir}/%{name} <<EOF
#!/bin/bash
export ERL_LIBS=%{rootdir}/lib
View
2  agent/app/src/main/erlang/edist_agent_sup.erl
@@ -24,7 +24,7 @@ start_child(ChildSpec) ->
delete_child(Id) ->
ok = supervisor:terminate_child(?MODULE, Id),
ok = supervisor:delete_child(?MODULE, Id).
-
+
init([Path]) ->
{ok,{{one_for_one,1,60},
[
View
4 agent/app/src/main/erlang/facter.erl
@@ -3,7 +3,7 @@
get_facts() ->
Facts = string:tokens(os_cmd:os_cmd("facter"), "\n"),
-
+
F = fun(Fact) ->
Pos = string:str(Fact, " => "),
Key = string:substr(Fact, 1, Pos-1),
@@ -11,4 +11,4 @@ get_facts() ->
{Key, Value}
end,
[ F(Fact) || Fact <- Facts].
-
+
View
42 agent/app/src/main/erlang/release_fsm.erl
@@ -24,7 +24,7 @@ init([Rel, BasePath, Session]) ->
case filelib:is_dir(RuntimeDir) of
true ->
% make sure we dont have an old runtime hanging around
- {ok, Files} = file:list_dir(RuntimeDir),
+ {ok, Files} = file:list_dir(RuntimeDir),
target_system:remove_all_files(RuntimeDir, Files);
false ->
ok = filelib:ensure_dir(RuntimeDir)
@@ -45,7 +45,7 @@ init([Rel, BasePath, Session]) ->
notify({subscribe, Rel}, ClientName),
launch(Session, #state{rel=Rel,
- paths=#paths{base=BasePath, runtime=RuntimeDir},
+ paths=#paths{base=BasePath, runtime=RuntimeDir},
cname=ClientName, cnode=ClientNode}).
binding({release_stopped, _Data}, State) ->
@@ -83,7 +83,7 @@ disconnected_binding({update_available, _Vsn}, State) ->
disconnected_binding({controller, connected, Session}, State) ->
{ok, RelProps} =
controller_api:query_release(Session, State#state.rel),
-
+
NewState = State#state{session=Session},
Vsn = get_prop(vsn, RelProps),
@@ -128,7 +128,7 @@ running({controller, disconnected}, State) ->
reloading({release_stopped, _Data}, State) ->
gen_fsm:cancel_timer(State#state.tmoref),
- {ok, NextStateName, NextState} = launch(State#state.session, State),
+ {ok, NextStateName, NextState} = launch(State#state.session, State),
{next_state, NextStateName, NextState};
reloading({update_available, Vsn}, State) ->
{next_state, reloading, State};
@@ -142,7 +142,7 @@ reconnecting({release_stopped, _Data}, State) ->
reconnecting({controller, connected, Session}, State) ->
{ok, RelProps} =
controller_api:query_release(Session, State#state.rel),
-
+
Vsn = get_prop(vsn, RelProps),
NewState = State#state{session=Session},
@@ -179,7 +179,7 @@ start_timer(Tmo, State) ->
stop(Node) ->
error_logger:info_msg("Stopping ~p~n", [Node]),
- rpc:call(Node, init, stop, []).
+ rpc:call(Node, init, stop, []).
get_prop(Prop, Props) ->
case proplists:get_value(Prop, Props) of
@@ -208,7 +208,7 @@ compute_sha(Dev, Ctx) ->
reload(State) ->
stop(State#state.cnode),
- {next_state, reloading, start_timer(30000, State)}.
+ {next_state, reloading, start_timer(30000, State)}.
download_latest(Session, State) ->
ImageFile = filename:join([State#state.paths#paths.base,
@@ -216,12 +216,12 @@ download_latest(Session, State) ->
{ok, RelProps} =
controller_api:query_release(Session, State#state.rel),
-
+
Config = get_prop(config, RelProps),
-
+
{ok, ImageProps, IDev} =
controller_api:download_release(Session, State#state.rel),
-
+
Vsn = get_prop(vsn, ImageProps),
ProvidedSha = proplists:get_value(sha, ImageProps),
ComputedSha = compute_sha(ImageFile),
@@ -231,15 +231,15 @@ download_latest(Session, State) ->
{ok, ODev} = file:open(ImageFile, [write, binary]),
{ok, _} = file:copy(IDev, ODev),
file:close(ODev),
-
+
% validate the integrity of the download
ProvidedSha = compute_sha(ImageFile),
-
+
downloaded;
true ->
cached
end,
-
+
ok = controller_api:close_stream(IDev),
notify({loaded, Vsn}, State),
@@ -258,16 +258,16 @@ launch(Session, State) ->
RelName = relname(State#state.rel, Vsn),
RuntimeDir = State#state.paths#paths.runtime,
ok = target_system:install(RelName, RuntimeDir, ImageFile),
-
+
BootFile = filename:join([RuntimeDir, "releases", Vsn, "start"]),
- Cmd = filename:join([RuntimeDir, "bin", "erl"]) ++
+ Cmd = filename:join([RuntimeDir, "bin", "erl"]) ++
" -boot " ++ BootFile ++
" -noinput" ++
" -sname " ++ State#state.cname ++
" " ++ Config,
-
+
error_logger:info_msg("Launching ~s~n", [Cmd]),
-
+
S = self(),
RPid = spawn_link(fun() ->
Result = try os_cmd:os_cmd(Cmd)
@@ -277,7 +277,7 @@ launch(Session, State) ->
end,
gen_fsm:send_event(S, {release_stopped, Result})
end),
-
+
NewState = State#state{session=Session,
vsn=Vsn, config=Config, rpid=RPid},
case bind(NewState) of
@@ -288,7 +288,7 @@ launch(Session, State) ->
end.
bind(State) ->
- error_logger:info_msg("Binding to ~p....~n", [State#state.cnode]),
+ error_logger:info_msg("Binding to ~p....~n", [State#state.cnode]),
case net_adm:ping(State#state.cnode) of
pong ->
S = self(),
@@ -304,7 +304,7 @@ bind(State) ->
init:stop()
end
),
-
+
error_logger:info_msg("Binding complete~n", []),
notify({online, State#state.vsn}, State),
edist_event_bus:notify({release, State#state.rel},
@@ -321,7 +321,7 @@ os_cmd(Cmd) ->
[Tmp | _ ] = string:tokens(os_cmd:os_cmd(Cmd), "\n"),
Tmp.
-tempfile() ->
+tempfile() ->
os_cmd("mktemp").
notify(Event, State) when is_record(State, state) ->
View
10 agent/app/src/main/erlang/session_fsm.erl
@@ -22,7 +22,7 @@ init([Path]) ->
Props = [{{edist_fact, K}, V} || {K, V} <- Facts],
gproc:mreg(p, g, Props),
gproc:reg({p, g, edist_client}),
-
+
connect(),
{ok, connecting, #state{path=Path}}.
@@ -30,10 +30,10 @@ connecting({connected, CPid}, State) ->
error_logger:info_msg("Connected to ~p~n", [CPid]),
erlang:monitor(process, CPid),
gproc_dist:sync(),
-
+
{ok, Session} = controller_api:negotiate(CPid),
{ok, Properties} = controller_api:join(Session),
-
+
RequiredSet = case proplists:get_value(releases, Properties) of
undefined -> [];
V -> sets:from_list(V)
@@ -77,7 +77,7 @@ bcast_event(Event, State) ->
gen_fsm:send_event(Pid, Event)
end,
dict:to_list(State#state.releases)).
-
+
update_releases(RequiredSet, State) ->
CurrentReleases = dict:fetch_keys(State#state.releases),
@@ -93,7 +93,7 @@ update_releases(RequiredSet, State) ->
BasePath = filename:join([State#state.path, "releases", Rel]),
StartFunc = {Module, start_link,
[Rel, BasePath, State#state.session]},
-
+
{ok, Pid} = edist_agent_sup:start_child({Id,
StartFunc,
transient,
View
14 agent/app/src/main/erlang/target_system.erl
@@ -40,13 +40,13 @@ install(App, RootDir, TarFile) ->
ok
end,
- subst_src_scripts(["erl", "start", "start_erl"], ErtsBinDir, BinDir,
+ subst_src_scripts(["erl", "start", "start_erl"], ErtsBinDir, BinDir,
[{"FINAL_ROOTDIR", RootDir}, {"EMU", "beam"}],
[preserve]),
- create_RELEASES(RootDir,
+ create_RELEASES(RootDir,
filename:join([RootDir, "releases", App])).
-%% LOCALS
+%% LOCALS
get_ertsvsn(RootDir) ->
StartErlDataFile = filename:join([RootDir, "releases", "start_erl.data"]),
@@ -72,13 +72,13 @@ extract_tar(TarFile, DestDir) ->
create_RELEASES(DestDir, RelFileName) ->
release_handler:create_RELEASES(DestDir, RelFileName ++ ".rel").
-subst_src_scripts(Scripts, SrcDir, DestDir, Vars, Opts) ->
+subst_src_scripts(Scripts, SrcDir, DestDir, Vars, Opts) ->
lists:foreach(fun(Script) ->
- subst_src_script(Script, SrcDir, DestDir,
+ subst_src_script(Script, SrcDir, DestDir,
Vars, Opts)
end, Scripts).
-subst_src_script(Script, SrcDir, DestDir, Vars, Opts) ->
+subst_src_script(Script, SrcDir, DestDir, Vars, Opts) ->
subst_file(filename:join([SrcDir, Script ++ ".src"]),
filename:join([DestDir, Script]),
Vars, Opts).
@@ -159,7 +159,7 @@ remove_all_files(Dir, Files) ->
{ok, FileInfo} = file:read_file_info(FilePath),
case FileInfo#file_info.type of
directory ->
- {ok, DirFiles} = file:list_dir(FilePath),
+ {ok, DirFiles} = file:list_dir(FilePath),
remove_all_files(FilePath, DirFiles),
file:del_dir(FilePath);
_ ->
View
40 controller/app/src/main/erlang/edist_controller.erl
@@ -72,11 +72,11 @@ init([Nodes]) ->
ok = open_table(edist_releases, ?RECORD(edist_release), Nodes),
ok = open_disc_table(edist_release_blocks, ?RECORD(edist_release_block), Nodes),
-
+
ok = open_table(edist_groups, ?RECORD(edist_group), Nodes),
mnesia:delete_table(edist_controller_clients),
ok = open_ram_table(edist_controller_clients, ?RECORD(client), [node()]),
-
+
% issue a compensating transaction to remove any dangling releases
F = fun() ->
CheckRel =
@@ -84,7 +84,7 @@ init([Nodes]) ->
Dict = dict:filter(fun(_, Vsn) ->
active_vsn(Vsn) =:= false
end,
- Rel#edist_release.versions),
+ Rel#edist_release.versions),
[{Rel#edist_release.name, Vsn#edist_release_vsn.vsn} ||
{_, Vsn} <- dict:to_list(Dict)]
end,
@@ -110,13 +110,13 @@ init([Nodes]) ->
{ok, #state{}}.
open_ram_table(Table, RecordInfo, Nodes) ->
- open_table(Table, ram_copies, RecordInfo, Nodes).
+ open_table(Table, ram_copies, RecordInfo, Nodes).
open_disc_table(Table, RecordInfo, Nodes) ->
- open_table(Table, disc_only_copies, RecordInfo, Nodes).
+ open_table(Table, disc_only_copies, RecordInfo, Nodes).
open_table(Table, RecordInfo, Nodes) ->
- open_table(Table, disc_copies, RecordInfo, Nodes).
+ open_table(Table, disc_copies, RecordInfo, Nodes).
open_table(Table, Type, {Record, Info}, Nodes) ->
util:open_table(Table,
@@ -223,14 +223,14 @@ handle_call({create_group, Name, Criteria, Releases}, _From, State) ->
criteria=Criteria,
releases=Releases},
mnesia:write(edist_groups, Group, write),
-
+
lists:foreach(fun(Rel) ->
[_] = mnesia:read(edist_releases, Rel, read)
end,
Releases),
Criterion = get_criterion(),
- Q = qlc:q([Pid ||
+ Q = qlc:q([Pid ||
{{p, g, edist_client}, Pid, '_'}
<- gproc:table(props)]),
@@ -267,7 +267,7 @@ handle_call({client, negotiate, RemoteApiVsn, Args}, {Pid,_Tag}, State) ->
error_logger:info_msg("Client ~p(~p): NEGOTIATE with Api: ~p Options: ~p~n",
[Cookie, Pid, RemoteApiVsn, Args]),
-
+
F = fun() ->
Ref = erlang:monitor(process, Pid),
Client = #client{cookie=Cookie, pid=Pid, ref=Ref},
@@ -286,7 +286,7 @@ handle_call({client, join, Cookie}, _From, State) ->
error_logger:info_msg("Client ~p(~p): JOIN with facts ~p~n",
[Cookie, Pid, Facts]),
-
+
if
Client#client.joined =:= true ->
throw("Already joined");
@@ -364,7 +364,7 @@ handle_call({client, download_release, Cookie, Rel}, {ClientPid, _Tag}, State) -
Element ->
StartFunc = {release_output_device, start_link,
[Rel, Version, Element, ClientPid]},
-
+
{ok, Dev} = edist_controller_sup:start_child({erlang:now(),
StartFunc,
transient,
@@ -418,7 +418,7 @@ handle_cast(_Msg, State) ->
%% --------------------------------------------------------------------
handle_info({'DOWN', Ref, process, Pid, _Info}, State) ->
error_logger:info_msg("Client ~p: DOWN~n", [Pid]),
-
+
Tab = edist_controller_clients,
F = fun() ->
DelClient =
@@ -470,7 +470,7 @@ find_latest_active(Name) ->
active_vsn(Version)
end,
find_latest(Name, Filter).
-
+
find_latest(Name, Filter) ->
[Record] = mnesia:read(edist_releases, Name, read),
@@ -486,7 +486,7 @@ find_latest(Name, Filter) ->
_ ->
lists:filter(Filter, Versions)
end,
-
+
case lists:foldl(fun(Version, undefined) ->
Version;
(Version, AccIn)
@@ -510,14 +510,14 @@ inc_version(Name, Vsn) ->
ref_count=Refs+1
}
end).
-
+
dec_version(Name, Vsn) ->
update_version(Name, Vsn, fun(Version) ->
Refs = Version#edist_release_vsn.ref_count,
Version#edist_release_vsn{
ref_count=Refs-1
}
- end).
+ end).
update_version(Name, Vsn, Fun) ->
[Record] = mnesia:read(edist_releases, Name, write),
@@ -540,7 +540,7 @@ rm_version(Name, Vsn) ->
NewRecord = Record#edist_release{versions=NewVersions},
ok = mnesia:write(edist_releases, NewRecord, write)
end,
-
+
% we remove all elements under vsn implictly
Q = qlc:q([mnesia:delete_object(edist_release_blocks, R, write)
|| R <- mnesia:table(edist_release_blocks),
@@ -554,13 +554,13 @@ active_vsn(Vsn) ->
Vsn#edist_release_vsn.state =:= active.
exec_criteria(Facts, Criteria) ->
- % FIXME: We are JIT'ing the criteria, might want to
+ % FIXME: We are JIT'ing the criteria, might want to
% precompile/cache somehow
{ok, Fun} = util:compile_native(Criteria),
Fun(Facts).
process_criterion(Facts, Criterion) ->
- % perform a parallel search for any elements with matching criteria
+ % perform a parallel search for any elements with matching criteria
util:pmap(fun({Criteria, Cookie}) ->
case exec_criteria(Facts, Criteria) of
match -> {match, Cookie};
@@ -596,4 +596,4 @@ get_facts(Pid) ->
P =:= Pid
]),
{ok, qlc:e(Q)}.
-
+
View
2  controller/app/src/main/erlang/edist_controller_app.erl
@@ -17,7 +17,7 @@ start(_Type, _StartArgs) ->
catch
_:_ -> [node()]
end,
-
+
edist_controller_sup:start_link(Nodes).
stop(_State) ->
View
4 controller/app/src/main/erlang/edist_release_handler.erl
@@ -91,7 +91,7 @@ update_handler(Rel, Vsn) ->
end,
Subs),
- % block until all clients have either loaded the new release, or
+ % block until all clients have either loaded the new release, or
% have somehow died/disappeared
Status = lists:map(fun({Name, Pid}) ->
R = collect_response(Name, Pid, {loaded, Vsn}),
@@ -126,5 +126,5 @@ collect_response(Name, Pid, Event) ->
60000 ->
timeout
end.
-
+
View
12 controller/app/src/main/erlang/release_input_device.erl
@@ -51,7 +51,7 @@ handle_call(close, _From, #state{buffer=Buffer} = State) when size(Buffer) > 0 -
handle_call(close, _From, State) ->
{stop, normal, ok, State};
handle_call(_Request, _From, State) ->
- {reply, {error, enotsup}, State}.
+ {reply, {error, enotsup}, State}.
handle_cast(_Request, State) ->
{noreply, State}.
@@ -83,10 +83,10 @@ terminate(normal, State) ->
UpdateVersion = fun(Version) ->
Refs = Version#edist_release_vsn.ref_count,
Elements = Version#edist_release_vsn.elements,
-
+
NewElements = [UpdateElement(Element)
|| Element <- Elements],
-
+
Version#edist_release_vsn{
ref_count=Refs+1,
elements=NewElements
@@ -132,7 +132,7 @@ multi_request([], Result) ->
put_chars(Chars, #state{position = P} = State) ->
R = P div ?CHARS_PER_REC,
C = P rem ?CHARS_PER_REC,
-
+
Updates = split_updates(Chars, R, C),
NewState = lists:foldl(fun(E, Acc) ->
apply_update(E, Acc)
@@ -148,7 +148,7 @@ split_updates(Data, Row, Col) when size(Data) > (?CHARS_PER_REC - Col) ->
LeftLen = ?CHARS_PER_REC - Col,
RightLen = size(Data) - LeftLen,
Left = binary:part(Data, {0, LeftLen}),
- Right = binary:part(Data, {LeftLen, RightLen}),
+ Right = binary:part(Data, {LeftLen, RightLen}),
[ {Row, Col, Left} | split_updates(Right, Row + 1, 0) ];
split_updates(Data, Row, Col) ->
[{Row, Col, Data}].
@@ -167,7 +167,7 @@ apply_update({Row, _Col, Data}, State) ->
advance_pos(Data, State) ->
P = State#state.position + size(Data),
- State#state{position=P}.
+ State#state{position=P}.
flush_buffer(Row, Data, State) ->
Record = #edist_release_block{id=erlang:now(),
View
10 controller/app/src/main/erlang/release_output_device.erl
@@ -28,7 +28,7 @@ init({Name, Version, Element, ClientPid}) ->
handle_call(close, _From, State) ->
{stop, normal, ok, State};
handle_call(_Request, _From, State) ->
- {reply, {error, enotsup}, State}.
+ {reply, {error, enotsup}, State}.
handle_cast(_Request, State) ->
{noreply, State}.
@@ -81,13 +81,13 @@ get_chars(Count, State) ->
#state{name=Name, vsn=Vsn, elem_id=Id, blksize=BlkSize, position=P} = State,
StartRow = P div BlkSize,
StartCol = P rem BlkSize,
-
+
Blocks = split_request(StartRow, StartCol, Count, BlkSize),
F = fun() ->
lists:foldl(fun({Row, Col, N}, Current) ->
Next = process_request(Name, Vsn, Id, Row, Col, N, BlkSize),
- <<Current/binary, Next/binary>>
+ <<Current/binary, Next/binary>>
end,
<<>>,
Blocks)
@@ -110,7 +110,7 @@ process_request(Name, Vsn, Id, Row, Col, Count, _BlkSize) ->
Data = find_block(Name, Vsn, Id, Row, Col, Count),
binary:part(Data, {Col, Count}).
-find_block(Name, Vsn, Id, Row, Col, Count) ->
+find_block(Name, Vsn, Id, Row, Col, Count) ->
Q = qlc:q([R || R <- mnesia:table(edist_release_blocks),
R#edist_release_block.name =:= Name,
R#edist_release_block.vsn =:= Vsn,
@@ -120,7 +120,7 @@ find_block(Name, Vsn, Id, Row, Col, Count) ->
[Block] = qlc:e(Q),
if
Col+Count > Block#edist_release_block.size ->
- throw({"Block too small", Col+Count, Block});
+ throw({"Block too small", Col+Count, Block});
true ->
Block#edist_release_block.data
end.
View
4 controller/app/src/main/erlang/util.erl
@@ -36,10 +36,10 @@ pmap(Fun, List) ->
Parent ! {pmap, self(), {error, Error}}
end
end,
-
+
Pids = [spawn_link(fun() -> Work(Item) end)
|| Item <- List],
-
+
lists:map(fun(Pid) ->
receive
{pmap, Pid, {error, Error}} -> throw(Error);
View
10 controller/app/src/test/erlang/release_handler_tests.erl
@@ -22,21 +22,21 @@ handler_test() ->
% cause an overlapping update
edist_event_bus:notify({release, Rel}, {commit, Vsn2}),
-
+
handle_reload(Vsn1, ClientName),
-
+
handle_update(Vsn2, ClientName),
handle_reload(Vsn2, ClientName),
-
+
ok.
handle_update(Vsn, ClientName) ->
wait({update_available, Vsn}),
notify({loaded, Vsn}, ClientName).
-handle_reload(Vsn, ClientName) ->
+handle_reload(Vsn, ClientName) ->
wait({reload, Vsn}),
- notify({online, Vsn}, ClientName).
+ notify({online, Vsn}, ClientName).
wait(Event) ->
receive
View
2  lib/src/main/erlang/edist_event_bus.erl
@@ -25,7 +25,7 @@ notify(EventType, Msg, RawOptions) ->
Options = parse_options(RawOptions),
Scope = Options#options.scope,
- Q = qlc:q([{P, S}
+ Q = qlc:q([{P, S}
|| {{p, '_', {?MODULE, E}}, P, S} <- gproc:table({Scope, props}),
E =:= EventType orelse E =:= all]),
lists:foreach(fun({P, S}) ->
View
2  lib/src/main/erlang/os_cmd.erl
@@ -8,7 +8,7 @@ os_cmd_format(CmdFormat, Params) ->
os_cmd_format(CmdFormat, Params, false).
os_cmd_format(CmdFormat, Params, Verbose) ->
- Cmd = format(CmdFormat, Params),
+ Cmd = format(CmdFormat, Params),
os_cmd(Cmd, Verbose).
os_cmd(Cmd) ->
View
2  lib/src/test/erlang/edist_event_bus_test.erl
@@ -24,4 +24,4 @@ badoptions_test() ->
catch
throw:{earg, {bar, baz}} -> ok
end.
-
+
Something went wrong with that request. Please try again.