[Et-mgmt-commits-list] [SCM] virt-factory branch, master now at 32b080d0e78aa104589a34c4bbd85a4ee081c08d

Michael DeHaan mdehaan at redhat.com
Mon Jun 18 16:43:16 UTC 2007


Hello,

This is an automated email from the git hooks/update script, it was
generated because a ref change was pushed to the repository.

Updating branch, master,
       via  32b080d0e78aa104589a34c4bbd85a4ee081c08d (commit)
      from  0a9faeaa5b36a1f24d408d88c72b640e6c8deb43 (commit)

- Log -----------------------------------------------------------------
commit 32b080d0e78aa104589a34c4bbd85a4ee081c08d
Author: Michael DeHaan <mdehaan at mdehaan.rdu.redhat.com>
Date:   Mon Jun 18 12:44:29 2007 -0400

    Change == to = in selects
-----------------------------------------------------------------------

Diffstat:
 build/test-it-all.sh          |    3 +--
 service/modules/deployment.py |    4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/build/test-it-all.sh b/build/test-it-all.sh
index 57224cb..89d2f7c 100755
--- a/build/test-it-all.sh
+++ b/build/test-it-all.sh
@@ -390,6 +390,7 @@ if [ "$REBUILD" == "Y" ] ; then
 	# build it all expect us to run it from the source dir, so go
 	# there if we need to
 	pwd
+        BUILD_PATH="$BUILD_PATH/virt-factory"
 	pushd $BUILD_PATH/build
     else
 	# just so we don't have to track were we are
@@ -400,8 +401,6 @@ if [ "$REBUILD" == "Y" ] ; then
     
     msg "Rebuilding everything for kicks in $BUILD_PATH" 
 
-    $BUILD_PATH/build/build-it-all.sh
-   
     if [ $? != 0 ]; then
         echo "Error building packages"
         exit 1
diff --git a/service/modules/deployment.py b/service/modules/deployment.py
index d903a22..1064dae 100755
--- a/service/modules/deployment.py
+++ b/service/modules/deployment.py
@@ -408,7 +408,7 @@ class Deployment(web_svc.AuthWebSvc):
             hostname = args['hostname']
             offset, limit = self.offset_and_limit(args)
             query = session.query(db.Deployment)
-            for deployment in query.select_by(hostname == hostname, offset=offset, limit=limit):
+            for deployment in query.select_by(hostname=hostname, offset=offset, limit=limit):
                 result.append(self.expand(deployment))
             return success(result)
         finally:
@@ -448,7 +448,7 @@ class Deployment(web_svc.AuthWebSvc):
             regtoken = args['registration_token']
             offset, limit = self.offset_and_limit(args)
             query = session.query(db.Deployment)
-            for deployment in query.select_by(registration_token == regtoken, offset=offset, limit=limit):
+            for deployment in query.select_by(registration_token=regtoken, offset=offset, limit=limit):
                 result.append(self.expand(deployment))
             return success(result)
         finally:

hooks/update
---
Git Source Code Management System
hooks/update refs/heads/master \
  0a9faeaa5b36a1f24d408d88c72b640e6c8deb43 \
  32b080d0e78aa104589a34c4bbd85a4ee081c08d




More information about the Et-mgmt-commits-list mailing list