aboutsummaryrefslogtreecommitdiffstats
path: root/plot_pm2.py
diff options
context:
space:
mode:
authorBjörn B. Brandenburg <bbb@cs.unc.edu>2010-03-26 08:53:45 -0400
committerBjörn B. Brandenburg <bbb@cs.unc.edu>2010-03-26 08:53:45 -0400
commit8d97233c9bc7bcbeb27c38bf7481d4831c75cf8f (patch)
treef70f155bbccc6017755a2e27c0602e6ae75ac93c /plot_pm2.py
parent7ef10f46daa5fa91469d0643bce891255444078d (diff)
pm2: don't crash if host is unknown
Diffstat (limited to 'plot_pm2.py')
-rwxr-xr-xplot_pm2.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plot_pm2.py b/plot_pm2.py
index d53a6da..fd3270e 100755
--- a/plot_pm2.py
+++ b/plot_pm2.py
@@ -108,6 +108,9 @@ class CyclePlotter(defapp.App):
108 108
109 def plot_preempt_migrate(self, datafile, name, conf): 109 def plot_preempt_migrate(self, datafile, name, conf):
110 plots = self.setup_pmo_graphs(datafile, conf) 110 plots = self.setup_pmo_graphs(datafile, conf)
111 if plots is None:
112 print "Skipping %s..." % datafile
113 return
111 for (tmp, xcol, ycol, yminus, tag) in plots: 114 for (tmp, xcol, ycol, yminus, tag) in plots:
112 xtag = PMO_COL_LABEL[xcol][1] 115 xtag = PMO_COL_LABEL[xcol][1]
113 ytag = PMO_COL_LABEL[ycol][1] 116 ytag = PMO_COL_LABEL[ycol][1]