Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
akscram committed Nov 7, 2013
1 parent a063656 commit 323309f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rubick/discovery.py
Expand Up @@ -246,7 +246,7 @@ def find_process(client, pid=None, name=None, sockets=None):
if pid:
return find(get_processes(client), lambda p: p.pid == pid)
elif sockets:
currrent_sockets = get_listen_sockets(client)
current_sockets = get_listen_sockets(client)
x = find(current_sockets.items(), lambda x: sockets[0] in x[1])
if not x:
return None
Expand Down

0 comments on commit 323309f

Please sign in to comment.