Permalink
Browse files

minor changes

  • Loading branch information...
1 parent 436b355 commit b4d94dc80f7865275dbdc8512a9db18765f996fc BuzzTroll committed Oct 2, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 cloudminer/cloudminer.py
View
@@ -99,6 +99,10 @@ def add_cloudyvent(self, runname, iaasid, cyv):
_cyv = _CYvent(cyv.source, cyv.name, cyv.key, cyv.timestamp, xtras_list)
cyvm.add_event(_cyv)
+ def get_iaas_by_runname(self, runname):
+ cyvm_a = self.session.query(_CYVM).filter(_CYVM.runname == runname).all()
+ return cyvm_a
+
def get_events_by_runname(self, runname):
cyvm_a = self.session.query(_CYVM).filter(_CYVM.runname == runname).all()
e_a = []

0 comments on commit b4d94dc

Please sign in to comment.