git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blind and brutal 2to3
[nodemanager.git]
/
controller.py
diff --git
a/controller.py
b/controller.py
index
c66ddff
..
0732ee5
100644
(file)
--- a/
controller.py
+++ b/
controller.py
@@
-34,5
+34,5
@@
def add_shell(shell):
etc_shells.close()
if shell not in valid_shells:
etc_shells = open('/etc/shells', 'a')
- print
>>etc_shells, shell
+ print
(shell, file=etc_shells)
etc_shells.close()