Permalink
Browse files

added exec to shell wrapper

removed print diagnotic message
  • Loading branch information...
1 parent 0cdb926 commit 7b81eb211c8e06a85e1839ec9af1510156729023 BuzzTroll committed Jun 1, 2010
View
2 cumulus/bin/cumulus-add-user.sh
@@ -4,4 +4,4 @@ dir=`dirname $0`
cd $dir/..
source env.sh
-./pycb/tools/add_user.py "${@}"
+exec ./pycb/tools/add_user.py "${@}"
View
2 cumulus/bin/cumulus-list-users.sh
@@ -4,4 +4,4 @@ dir=`dirname $0`
cd $dir/..
source env.sh
-./pycb/tools/list_users.py "${@}"
+exec ./pycb/tools/list_users.py "${@}"
View
2 cumulus/bin/cumulus-quota.sh
@@ -4,4 +4,4 @@ dir=`dirname $0`
cd $dir/..
source env.sh
-./pycb/tools/set_quota.py "${@}"
+exec ./pycb/tools/set_quota.py "${@}"
View
2 cumulus/bin/cumulus-remove-user.sh
@@ -4,4 +4,4 @@ dir=`dirname $0`
cd $dir/..
source env.sh
-./pycb/tools/remove_user.py "${@}"
+exec ./pycb/tools/remove_user.py "${@}"
View
5 cumulus/pycb/tools/__init__.py
@@ -1,3 +1,4 @@
+import pynimbusauthz
def report_options_to_string(opts, delim=","):
rc = ""
@@ -20,6 +21,6 @@ def print_report(report_obj, cols, opts):
out_line = out_line + delim + v
delim = d
else:
- print "%-15s : %s" % (c, v)
+ pynimbusauthz.print_msg(opts, 0, "%-15s : %s" % (c, v))
- print out_line
+ pynimbusauthz.print_msg(opts, 0, out_line)
View
1 cumulus/pynimbusauthz/__init__.py
@@ -85,7 +85,6 @@ def parse_args(p, all_opts, argv):
o.add_opt(p)
(options, args) = p.parse_args(args=argv)
- print "setting out stream %s" % (str(options.outstream))
if options.outstream == None:
options.out_file = sys.stdout
else:

0 comments on commit 7b81eb2

Please sign in to comment.