From edcde1edfac5c90a44d7222ef4321ee65f23bd62 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Sat, 8 Jul 2017 22:42:13 -0700 Subject: [PATCH] fix style warnings in scripts --- scripts/vcs | 1 + scripts/vcs-branch | 1 + scripts/vcs-bzr | 1 + scripts/vcs-custom | 1 + scripts/vcs-diff | 1 + scripts/vcs-export | 1 + scripts/vcs-git | 1 + scripts/vcs-help | 1 + scripts/vcs-hg | 1 + scripts/vcs-import | 1 + scripts/vcs-log | 1 + scripts/vcs-pull | 1 + scripts/vcs-push | 1 + scripts/vcs-remotes | 1 + scripts/vcs-status | 1 + scripts/vcs-svn | 1 + 16 files changed, 16 insertions(+) diff --git a/scripts/vcs b/scripts/vcs index c0f906fa..845ee420 100755 --- a/scripts/vcs +++ b/scripts/vcs @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.vcs import main sys.exit(main() or 0) diff --git a/scripts/vcs-branch b/scripts/vcs-branch index ae855e48..674387b6 100755 --- a/scripts/vcs-branch +++ b/scripts/vcs-branch @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.branch import main sys.exit(main() or 0) diff --git a/scripts/vcs-bzr b/scripts/vcs-bzr index 6482b246..ea740774 100755 --- a/scripts/vcs-bzr +++ b/scripts/vcs-bzr @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.custom import bzr_main sys.exit(bzr_main() or 0) diff --git a/scripts/vcs-custom b/scripts/vcs-custom index f8f8feb4..83979dd5 100755 --- a/scripts/vcs-custom +++ b/scripts/vcs-custom @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.custom import main sys.exit(main() or 0) diff --git a/scripts/vcs-diff b/scripts/vcs-diff index b04073ff..be62eac0 100755 --- a/scripts/vcs-diff +++ b/scripts/vcs-diff @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.diff import main sys.exit(main() or 0) diff --git a/scripts/vcs-export b/scripts/vcs-export index a2f9a261..293b7c4f 100755 --- a/scripts/vcs-export +++ b/scripts/vcs-export @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.export import main sys.exit(main() or 0) diff --git a/scripts/vcs-git b/scripts/vcs-git index 615b2c6d..5a0196af 100755 --- a/scripts/vcs-git +++ b/scripts/vcs-git @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.custom import git_main sys.exit(git_main() or 0) diff --git a/scripts/vcs-help b/scripts/vcs-help index 04a306ed..af62f1b6 100755 --- a/scripts/vcs-help +++ b/scripts/vcs-help @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.help import main sys.exit(main() or 0) diff --git a/scripts/vcs-hg b/scripts/vcs-hg index c69467cb..47b76588 100755 --- a/scripts/vcs-hg +++ b/scripts/vcs-hg @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.custom import hg_main sys.exit(hg_main() or 0) diff --git a/scripts/vcs-import b/scripts/vcs-import index b82d3f30..9ced1d58 100755 --- a/scripts/vcs-import +++ b/scripts/vcs-import @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.import_ import main sys.exit(main() or 0) diff --git a/scripts/vcs-log b/scripts/vcs-log index 9bdda67b..2fb4e669 100755 --- a/scripts/vcs-log +++ b/scripts/vcs-log @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.log import main sys.exit(main() or 0) diff --git a/scripts/vcs-pull b/scripts/vcs-pull index 0c77e20b..f078dcba 100755 --- a/scripts/vcs-pull +++ b/scripts/vcs-pull @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.pull import main sys.exit(main() or 0) diff --git a/scripts/vcs-push b/scripts/vcs-push index 096ff83a..0946a4ab 100755 --- a/scripts/vcs-push +++ b/scripts/vcs-push @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.push import main sys.exit(main() or 0) diff --git a/scripts/vcs-remotes b/scripts/vcs-remotes index ffce91d3..965a8fc2 100755 --- a/scripts/vcs-remotes +++ b/scripts/vcs-remotes @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.remotes import main sys.exit(main() or 0) diff --git a/scripts/vcs-status b/scripts/vcs-status index 7167c310..dc8da31d 100755 --- a/scripts/vcs-status +++ b/scripts/vcs-status @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.status import main sys.exit(main() or 0) diff --git a/scripts/vcs-svn b/scripts/vcs-svn index 417598aa..1f4fef4e 100755 --- a/scripts/vcs-svn +++ b/scripts/vcs-svn @@ -1,6 +1,7 @@ #!/usr/bin/env python import sys + from vcstool.commands.custom import svn_main sys.exit(svn_main() or 0)