aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-08-07 11:21:44 +0000
committerGravatar Brendan Taylor <whateley@gmail.com>2011-08-07 11:21:44 +0000
commit62523673f63f2ac50b64c54a6b20f945117b446a (patch)
tree93904dd4f2292df00c7214aad8c929fff45f27d7 /examples
parent6a5d708cac686863475c6265f40b78e1706af423 (diff)
parent4851bbdc513944684203775293854297f77e5608 (diff)
Merge remote-tracking branch 'mathstuf/dev/fix-pss-multi-command'
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/scripts/per-site-settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/per-site-settings.py b/examples/data/scripts/per-site-settings.py
index 89df4e6..eb9dae7 100755
--- a/examples/data/scripts/per-site-settings.py
+++ b/examples/data/scripts/per-site-settings.py
@@ -93,7 +93,7 @@ def write_to_socket(commands, sockpath):
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
sock.connect(sockpath)
for command in commands:
- sock.send(command)
+ sock.send('%s\n' % command)
sock.close()