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:
8986ddb
)
add addRecord method
author
smbaker
<smbaker@fc8clean.lan>
Tue, 30 Aug 2011 22:06:57 +0000
(15:06 -0700)
committer
smbaker
<smbaker@fc8clean.lan>
Tue, 30 Aug 2011 22:06:57 +0000
(15:06 -0700)
sface/sfiprocess.py
patch
|
blob
|
history
diff --git
a/sface/sfiprocess.py
b/sface/sfiprocess.py
index
829abab
..
8eb0408
100644
(file)
--- a/
sface/sfiprocess.py
+++ b/
sface/sfiprocess.py
@@
-157,6
+157,12
@@
class SfiProcess(QObject):
self.__init_command(args)
self.start()
+ def addRecord(self, filename):
+ args = ["-u", config.getUser(), "-a", config.getAuthority(),
+ "-r", config.getRegistry(), "-s", config.getSlicemgr(), "add", filename]
+ self.__init_command(args)
+ self.start()
+
def renewSlivers(self, expiration):
args = ["-u", config.getUser(), "-a", config.getAuthority(),
"-r", config.getRegistry(), "-s", config.getSlicemgr(), "renew",