Merge "Make the session command a little more friendly"

This commit is contained in:
Jenkins 2014-06-17 20:41:35 +00:00 committed by Gerrit Code Review
commit 947c2a6fc2
1 changed files with 2 additions and 1 deletions

View File

@ -26,8 +26,9 @@ def make_session(opts):
def run_session(opts):
"""Create session."""
argument = opts.argument
if argument is None:
raise Exception("A path argument must be specified")
sess = make_session(opts)
filtration = service_filter.ServiceFilter('Identity')
print("Session: %s" % sess)