Skip to content

Commit

Permalink
Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed May 8, 2014
1 parent a509951 commit 7e31564
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion opal-python-client/src/main/python/opal/perm_datasource.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Apply permissions on a set of tables.
Apply permissions on a datasource.
"""

import sys
Expand Down
2 changes: 1 addition & 1 deletion opal-python-client/src/main/python/opal/perm_project.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Apply permissions on a set of tables.
Apply permissions on a project.
"""

import sys
Expand Down
5 changes: 3 additions & 2 deletions opal-python-client/src/main/python/opal/perm_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

def add_arguments(parser):
"""
Add variable command specific options
Add command specific options
"""
opal.perm.add_permission_arguments(parser, PERMISSIONS.keys())
parser.add_argument('--project', '-pr', required=True, help='Project name to which the tables belong')
Expand Down Expand Up @@ -91,7 +91,8 @@ def do_command(args):
print Exception, e

# format response
print response.content
if response.code != 200:
print response.content

except Exception, e:
print e
Expand Down
2 changes: 1 addition & 1 deletion opal-python-client/src/main/python/opal/perm_variable.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Apply permissions on a set of tables.
Apply permissions on a set of variables.
"""

import sys
Expand Down

0 comments on commit 7e31564

Please sign in to comment.