[Et-mgmt-commits-list] [SCM] virt-factory branch, master now at 4f986b80c8dea358fb27f4de30b7c68339f837a2
Scott Seago
sseago at redhat.com
Tue Jun 19 15:00:15 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 4f986b80c8dea358fb27f4de30b7c68339f837a2 (commit)
from 810c692e34aec8e45aab4d80087dc5207453b364 (commit)
- Log -----------------------------------------------------------------
commit 4f986b80c8dea358fb27f4de30b7c68339f837a2
Author: Scott Seago <sseago at redhat.com>
Date: Tue Jun 19 10:59:55 2007 -0400
fixed missing trailing commas in one element tuples
-----------------------------------------------------------------------
Diffstat:
service/modules/machine.py | 4 ++--
service/modules/regtoken.py | 2 +-
service/modules/task.py | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/service/modules/machine.py b/service/modules/machine.py
index 4c7a8b7..41a0b6e 100755
--- a/service/modules/machine.py
+++ b/service/modules/machine.py
@@ -65,7 +65,7 @@ class Machine(web_svc.AuthWebSvc):
('hostname', 'ip_address', 'registration_token', 'architecture', 'processor_speed',
'processor_count','memory', 'kernel_options', 'kickstart_metadata',
'list_group', 'mac_address', 'is_container', 'puppet_node_diff', 'netboot_enabled', 'is_locked')
- required = ('profile_id')
+ required = ('profile_id',)
self.validate(args, required)
session = db.open_session()
try:
@@ -164,7 +164,7 @@ class Machine(web_svc.AuthWebSvc):
@raise SQLException: On database error
@raise NoSuchObjectException: On object not found.
"""
- required = ('id')
+ required = ('id',)
optional =\
('hostname', 'ip_address', 'registration_token', 'architecture', 'processor_speed',
'processor_count','memory', 'kernel_options', 'kickstart_metadata', 'profile_id',
diff --git a/service/modules/regtoken.py b/service/modules/regtoken.py
index f55c4ac..bcdcdd7 100755
--- a/service/modules/regtoken.py
+++ b/service/modules/regtoken.py
@@ -64,7 +64,7 @@ class RegToken(web_svc.AuthWebSvc):
@type args: dict
@raise SQLException: On database error
"""
- required = ('token')
+ required = ('token',)
optional = ('profile_id', 'uses_remaining')
validator = FieldValidator(args)
validator.verify_required(required)
diff --git a/service/modules/task.py b/service/modules/task.py
index c0c4fd8..93bbe38 100755
--- a/service/modules/task.py
+++ b/service/modules/task.py
@@ -77,8 +77,8 @@ class Task(web_svc.AuthWebSvc):
@raise SQLException: On database error
@raise NoSuchObjectException: On object not found.
"""
- required = ('id')
- optional = ('state')
+ required = ('id',)
+ optional = ('state',)
filter_fields = ('id', 'user_id', 'action_type', 'machine_id', 'deployment_id')
validator = FieldValidator(args)
validator.verify_required(required)
hooks/update
---
Git Source Code Management System
hooks/update refs/heads/master \
810c692e34aec8e45aab4d80087dc5207453b364 \
4f986b80c8dea358fb27f4de30b7c68339f837a2
More information about the Et-mgmt-commits-list
mailing list