Skip to content

Commit

Permalink
Update listend.py
Browse files Browse the repository at this point in the history
added necessary fcntl functions
  • Loading branch information
rtevans authored Mar 24, 2017
1 parent 9d425e4 commit 2d1bb11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tacc_stats/listend.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os, sys
import time
import tacc_stats.cfg as cfg
from fcntl import flock, LOCK_EX, LOCK_NB

def on_message(channel, method_frame, header_frame, body):
if body[0] == '$': host = body.split('\n')[1].split()[1]
Expand Down

0 comments on commit 2d1bb11

Please sign in to comment.