pep8: Fix E303 violations.
This commit is contained in:
parent
6eb6016913
commit
2e2b8af9fd
|
@ -89,7 +89,6 @@ def main(argv=None):
|
|||
help='Allows the user to specify a subject for the message.')
|
||||
parser.add_option_group(group)
|
||||
|
||||
|
||||
(options, recipients) = parser.parse_args(argv[1:])
|
||||
|
||||
if options.verbose:
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
# THE SOFTWARE.
|
||||
|
||||
|
||||
|
||||
# Change these values to configure authentication for basecamp account
|
||||
BASECAMP_ACCOUNT_ID = "12345678"
|
||||
BASECAMP_USERNAME = "foo@example.com"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
# THE SOFTWARE.
|
||||
|
||||
|
||||
|
||||
# Change these values to configure authentication for your codebase account
|
||||
# Note that this is the Codebase API Username, found in the Settings page
|
||||
# for your account
|
||||
|
|
|
@ -116,7 +116,6 @@ def handle_event(event):
|
|||
url = make_url("projects/%s" % (project_link,))
|
||||
scm = "of type %s" % (project_repo_type,) if project_repo_type else ""
|
||||
|
||||
|
||||
subject = "Repository %s Created" % (project_name,)
|
||||
content = "%s created a new repository %s [%s](%s)" % (actor_name, scm, project_name, url)
|
||||
elif event_type == 'push':
|
||||
|
@ -165,7 +164,6 @@ def handle_event(event):
|
|||
body = raw_props.get('content')
|
||||
changes = raw_props.get('changes')
|
||||
|
||||
|
||||
url = make_url("projects/%s/tickets/%s" % (project_link, num))
|
||||
subject = "#%s: %s" % (num, name)
|
||||
|
||||
|
|
|
@ -873,7 +873,6 @@ class P4UserMap(object):
|
|||
self.users[output["User"]] = output["FullName"] + " <" + output["Email"] + ">"
|
||||
self.emails[output["Email"]] = output["User"]
|
||||
|
||||
|
||||
s = ''
|
||||
for (key, val) in self.users.items():
|
||||
s += "%s\t%s\n" % (key.expandtabs(1), val.expandtabs(1))
|
||||
|
@ -959,7 +958,6 @@ class P4RollBack(Command):
|
|||
log = extractLogMessageFromGitCommit(ref)
|
||||
settings = extractSettingsGitLog(log)
|
||||
|
||||
|
||||
depotPaths = settings['depot-paths']
|
||||
change = settings['change']
|
||||
|
||||
|
@ -2480,7 +2478,6 @@ class P4Sync(Command, P4UserMap):
|
|||
if source not in self.knownBranches:
|
||||
lostAndFoundBranches.add(source)
|
||||
|
||||
|
||||
for branch in lostAndFoundBranches:
|
||||
self.knownBranches[branch] = branch
|
||||
|
||||
|
@ -2698,7 +2695,6 @@ class P4Sync(Command, P4UserMap):
|
|||
sys.stderr.write("p4 exitcode: %s\n" % info['p4ExitCode'])
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
change = int(info["change"])
|
||||
if change > newestRevision:
|
||||
newestRevision = change
|
||||
|
@ -2727,7 +2723,6 @@ class P4Sync(Command, P4UserMap):
|
|||
print("IO error with git fast-import. Is your git version recent enough?")
|
||||
print(self.gitError.read())
|
||||
|
||||
|
||||
def run(self, args):
|
||||
self.depotPaths = []
|
||||
self.changeRange = ""
|
||||
|
|
Loading…
Reference in a new issue