summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMac Mollison <mollison@cs.unc.edu>2009-02-24 21:26:51 -0500
committerMac Mollison <mollison@cs.unc.edu>2009-02-24 21:26:51 -0500
commitbb3dbe9e796dda0ea2a01b7648dd6a7023560330 (patch)
treec9476e288b4520f4a730ae978b8c086e531e13c7
parentb58af7d7e4e5a7663dd5a3d3b050a20948628437 (diff)
Minor: Added description to SySysReleaseData
-rwxr-xr-xsta.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sta.py b/sta.py
index aec249b..836fc27 100755
--- a/sta.py
+++ b/sta.py
@@ -76,6 +76,7 @@ class Trace:
76 return 0 76 return 0
77 self.iter = sorted(self.iter, key=sortfunc) 77 self.iter = sorted(self.iter, key=sortfunc)
78 78
79 #This could probably easy be changed to sort by an arbitrary # of keys
79 def sort2(self, key1, key2): 80 def sort2(self, key1, key2):
80 """Return the records sorted by two keys""" 81 """Return the records sorted by two keys"""
81 def sortfunc(record): 82 def sortfunc(record):
@@ -182,7 +183,7 @@ class StSysReleaseData:
182 format = 'LL' 183 format = 'LL'
183 formatStr = struct.Struct(StHeader.format + format) 184 formatStr = struct.Struct(StHeader.format + format)
184 keys = StHeader.keys + ['when','release'] 185 keys = StHeader.keys + ['when','release']
185 message = 'StSysReleaseData (no details).' 186 message = 'All tasks have checked in, task system released by user'
186 187
187def get_type(type_num): 188def get_type(type_num):
188 """Return the binary data type, given the type_num""" 189 """Return the binary data type, given the type_num"""