git://git.onelab.eu
/
sface.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
72d17d9
)
tolerate no slice name in sliverstatus screen
author
smbaker
<smbaker@fc8clean.lan>
Thu, 12 Jan 2012 20:26:22 +0000
(12:26 -0800)
committer
smbaker
<smbaker@fc8clean.lan>
Thu, 12 Jan 2012 20:26:22 +0000
(12:26 -0800)
sface/sfidata.py
patch
|
blob
|
history
diff --git
a/sface/sfidata.py
b/sface/sfidata.py
index
9a2710a
..
0adda24
100644
(file)
--- a/
sface/sfidata.py
+++ b/
sface/sfidata.py
@@
-105,6
+105,9
@@
class SfiData:
if not slice:
slice = config.getSlice()
+ if not slice:
+ return None
+
filename = config.fullpath(slice+".sliverstatus")
if os.path.exists(filename):