[jhbuild/release-team-commands] [goalreport] support for setting shell checks from command line
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild/release-team-commands] [goalreport] support for setting shell checks from command line
- Date: Sat, 18 Jul 2009 18:33:16 +0000 (UTC)
commit 2755056938fec84530989b4765f178e88b37fb94
Author: Frédéric Péters <fpeters 0d be>
Date: Sat Jul 18 20:32:04 2009 +0200
[goalreport] support for setting shell checks from command line
jhbuild/commands/goalreport.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index 673d1c9..569390a 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -166,6 +166,13 @@ class ShellCheck(Check):
self.status = 'todo'
self.complexity = 'complex'
+ def create_from_args(cls, arg):
+ new_class = types.ClassType('ShellCheck (%s)' % arg.split('/')[-1],
+ (cls,), {'cmd': arg})
+ return new_class
+ create_from_args = classmethod(create_from_args)
+
+
FIND_C = "find -name '*.[ch]' -or -name '*.cpp' -or -name '*.cc'"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]