Use self.args when we parse arguments that way the arguments can be constructed manually

This commit is contained in:
Toshio Kuratomi 2015-12-06 22:16:31 -08:00
commit 4d637e5780
6 changed files with 6 additions and 6 deletions

View file

@ -90,7 +90,7 @@ class PullCLI(CLI):
help='verify GPG signature of checked out commit, if it fails abort running the playbook.'
' This needs the corresponding VCS module to support such an operation')
self.options, self.args = self.parser.parse_args()
self.options, self.args = self.parser.parse_args(self.args[1:])
if not self.options.dest:
hostname = socket.getfqdn()