Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hacksaar
Sphinx
Commits
6c382b98
Commit
6c382b98
authored
May 13, 2015
by
Ralf
Browse files
Fix "who" output
Fixes
#4
parent
4e7bf379
Changes
1
Hide whitespace changes
Inline
Side-by-side
tyshell
View file @
6c382b98
...
...
@@ -57,7 +57,7 @@ def exitcmd(c):
def
whocmd
(
c
):
for
n
in
grp
.
getgrnam
(
"tuer"
).
gr_mem
:
p
=
pwd
.
getpwnam
(
n
)
print
(
p
.
pw_name
,
" - "
,
p
.
pw_gecos
)
print
(
p
.
pw_name
,
" - "
,
p
.
pw_gecos
.
split
(
","
)[
0
]
)
def
alias
(
cmds
,
aliases
):
for
newname
,
oldname
in
aliases
.
items
():
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment