Exemple #1
0
 def processObject(self, obj):
     """Operate on the provided blade object."""
     # ask the user if we should continue
     if not obj.pre(self, "Nimby this blade?"):
         return
     # try to run the operation
     query.nimby(obj)
     obj.post(self, "nimbied")
Exemple #2
0
 def processObject(self, obj):
     """Operate on the provided blade object."""
     # ask the user if we should continue
     if not obj.pre(self, "Nimby this blade?"):
         return
     # try to run the operation
     query.nimby(obj)
     obj.post(self, "nimbied")
Exemple #3
0
def test_blade_ops(blade):
    print "nimby"
    tq.nimby(blade)
    print "unnimby"
    tq.unnimby(blade)
    print "trace"
    trace = tq.trace(blade)
    print trace
    print "eject"
    tq.eject(blade)
    print "delist"
    tq.delist(blade)