This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-openwhisk-composer-python.git


The following commit(s) were added to refs/heads/master by this push:
     new e7829f9  Fix typo (#4)
e7829f9 is described below

commit e7829f9e47ceb8e4272ae8a040405de888e61032
Author: Hyunwoo Jung <[email protected]>
AuthorDate: Sun Feb 17 18:49:22 2019 +0900

    Fix typo (#4)
---
 src/pydeploy/__main__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pydeploy/__main__.py b/src/pydeploy/__main__.py
index 74c0dda..46016b2 100644
--- a/src/pydeploy/__main__.py
+++ b/src/pydeploy/__main__.py
@@ -79,7 +79,7 @@ def main():
 
     except Exception as err:
         print(err)
-        sys,exit(422 - 256) # Unprocessable Entity
+        sys.exit(422 - 256) # Unprocessable Entity
 
 
     options = { 'ignore_certs': args.insecure }
@@ -92,7 +92,7 @@ def main():
         composition['name'] = composer.parse_action_name(args.name)
     except Exception as err:
         print(err)
-        sys,exit(400 - 256) # Bad Request
+        sys.exit(400 - 256) # Bad Request
 
     try:
         actions = 
conductor.openwhisk(options).compositions.deploy(composition, args.overwrite)

Reply via email to