[banshee] [bockbuild] fix print_help error
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [bockbuild] fix print_help error
- Date: Fri, 29 Jan 2010 00:02:56 +0000 (UTC)
commit 3387eec6cd3dee1107c1c06751dd85effa93c9da
Author: Gabriel Burt <gabriel burt gmail com>
Date: Thu Jan 28 16:02:45 2010 -0800
[bockbuild] fix print_help error
build/bundle/bockbuild/profile.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/build/bundle/bockbuild/profile.py b/build/bundle/bockbuild/profile.py
index 4f0e2a2..90eb368 100644
--- a/build/bundle/bockbuild/profile.py
+++ b/build/bundle/bockbuild/profile.py
@@ -53,6 +53,7 @@ class Profile:
action = 'store_true', dest = 'release_build',
help = 'Whether or not this build is a release build')
+ self.parser = parser
self.cmd_options, self.cmd_args = parser.parse_args ()
def bundle (self, output_dir):
@@ -69,7 +70,7 @@ class Profile:
sys.exit (0)
if not self.cmd_options.do_build and not self.cmd_options.do_bundle:
- parser.print_help ()
+ self.parser.print_help ()
sys.exit (1)
if not self.cmd_options.include_run_phases == []:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]