[jhbuild/release-team-commands] [goalreport] fix passing of multiple arguments to --check



commit 6dfc5c80ce69d01af644d585db3180bedaeb36a9
Author: Frederic Peters <fpeters 0d be>
Date:   Tue May 5 00:06:51 2009 +0200

    [goalreport] fix passing of multiple arguments to --check
---
 jhbuild/commands/goalreport.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index 0426a3e..754417e 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -265,8 +265,8 @@ class cmd_goalreport(Command):
     def load_checks_from_options(self, checks):
         self.checks = []
         for check_option in checks:
-            check_class_name, args = check_option.split(':', 2)
-            args = args.split(':')
+            check_class_name, args = check_option.split(':', 1)
+            args = args.split(',')
             check_base_class = globals().get(check_class_name)
             check = check_base_class.create_from_args(*args)
             self.checks.append(check)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]