summaryrefslogtreecommitdiff
path: root/gitnotipy-update.py
blob: 25f2d04e2c1f46b733f8d086b5d24dce29e6c651 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python2

# Change this as needed.
filename = '/home/snakebite/projects/gitnotipy/foo.socket'

import socket, sys

s = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
s.connect(filename)
s.send(sys.argv[1])
s.close()