Skip to content

Corrected output of fixes. - #4

Open
dehain wants to merge 4 commits into
niedbalski:masterfrom
dehain:master
Open

Corrected output of fixes.#4
dehain wants to merge 4 commits into
niedbalski:masterfrom
dehain:master

Conversation

@dehain

@dehain dehain commented May 2, 2017

Copy link
Copy Markdown

Fixed indentation of line that was causing only the last fix to be
displayed.

@dehain
dehain force-pushed the master branch 2 times, most recently from ac1cbd0 to e8520e3 Compare February 25, 2018 19:56
Fixed indentation of line that was causing only the last fix to be
displayed.
Added a parameter (--no-fetch) that specifies to not attempt fetching
from the remote.  This is useful in situations where there
is no connectivity to the remote.
Added a parameter (--current-branch) that will use whatever the
currently checked out branch is rather than requiring the branch to be
specified or defaulting to master.
Changed error code when no results are found from returning (-1) to
simply returning 0.  I don't think that not finding results is an error
and this is an issue when I use this script with another script that
depends on the return code indicating success or failure.
Comment thread bugspots/__init__.py
if commit_date >= days_ago and \
description_regex.search(message):
yield((message, commit_date, vcs.get_affected_files(id)))

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are trailing tabs/spaces on this code, can you correct those?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants