[Et-mgmt-commits-list] [SCM] virt-factory branch, master now at v0.0.3-255-g4a3268f

Adrian Likins alikins at redhat.com
Tue Aug 28 22:27:42 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  4a3268f246815606ccf5caeadff1ae9c7220baf6 (commit)
      from  097206bbcf30b83d16755b9679a0276d026503f8 (commit)

- Log -----------------------------------------------------------------
commit 4a3268f246815606ccf5caeadff1ae9c7220baf6
Author: Adrian Likins <alikins at grimlock.devel.redhat.com>
Date:   Tue Aug 28 18:19:31 2007 -0400

    cleanup some renames
    remove some debug spew
-----------------------------------------------------------------------

Diffstat:
 ampm/command_modules/pause.py   |    7 +++----
 ampm/command_modules/unpause.py |    3 ---
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/ampm/command_modules/pause.py b/ampm/command_modules/pause.py
index 55af0b0..50bb26c 100644
--- a/ampm/command_modules/pause.py
+++ b/ampm/command_modules/pause.py
@@ -19,14 +19,14 @@ def run(args, api):
 
 class Pause(command_class.Command):
     def print_help(self):
-        print "ampm pause profile_name [--profile_id] <profile_id>"
+        print "ampm pause guest_name [--guest_id] <guest_id>"
 
     def _parse_args(self, args):
         try:
             opts, args = getopt.getopt(args, "hvm",
                                        ["help",
                                         "verbose",
-                                        "profile_id="])
+                                        "guest_id="])
         except getopt.error, e:
             print _("Error parsing list arguments: %s") % e
             # FIXME: error handling
@@ -40,14 +40,13 @@ class Pause(command_class.Command):
                 return
             if opt in ["-v", "--verbose"]:
                 self.verbose = self.verbose + 1
-            if opt in ["--guests_id"]:
+            if opt in ["--guest_id"]:
                 guests_ids.append(val)
 
 
         guests = args
         for guest in guests:
             (retcode, data) = self.api.deployment_get_by_mac(guest)
-            pprint.pprint(data)
             if retcode > 0:
                 self.show_error(retcode, data)
                 continue
diff --git a/ampm/command_modules/unpause.py b/ampm/command_modules/unpause.py
index 00cd86d..151596d 100644
--- a/ampm/command_modules/unpause.py
+++ b/ampm/command_modules/unpause.py
@@ -45,14 +45,11 @@ class Unpause(command_class.Command):
                 guests_ids.append(val)
 
 
-        print "gh1"
         guests = args
-        print guests
         if guests == [] and guests_ids == []:
             self.print_help()
             return
 
-        print "gh2"
         for guest in guests:
             (retcode, data) = self.api.deployment_get_by_mac(guest)
             if retcode > 0:

hooks/update
---
Git Source Code Management System
hooks/update refs/heads/master \
  097206bbcf30b83d16755b9679a0276d026503f8 \
  4a3268f246815606ccf5caeadff1ae9c7220baf6




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