Apply YAPF
This commit is contained in:
@@ -37,8 +37,8 @@ class VCSClientFactory(object):
|
||||
if "#" in remote_url:
|
||||
remote_url, tag = remote_url.rsplit("#", 1)
|
||||
if not type_:
|
||||
raise PlatformioException("VCS: Unknown repository type %s" %
|
||||
remote_url)
|
||||
raise PlatformioException(
|
||||
"VCS: Unknown repository type %s" % remote_url)
|
||||
obj = getattr(modules[__name__], "%sClient" % type_.title())(
|
||||
src_dir, remote_url, tag, silent)
|
||||
assert isinstance(obj, VCSClientBase)
|
||||
@@ -103,8 +103,8 @@ class VCSClientBase(object):
|
||||
if result['returncode'] == 0:
|
||||
return result['out'].strip()
|
||||
raise PlatformioException(
|
||||
"VCS: Could not receive an output from `%s` command (%s)" % (
|
||||
args, result))
|
||||
"VCS: Could not receive an output from `%s` command (%s)" %
|
||||
(args, result))
|
||||
|
||||
|
||||
class GitClient(VCSClientBase):
|
||||
|
||||
Reference in New Issue
Block a user