Skip to content

Conversation

alexwlchan
Copy link
Contributor

What's in this pull request?

  • The original version had an off-by-one error in the line number
    (assuming you use the GitHub model of starting lines at 1). Fix this
    error, and move to using enumerate() instead of tracking the
    count variable ourselves.
  • Add a comment about the exit codes to the help message.
  • Increase clarity in variable/argument names.

Resolved bug number: (SR-)

This isn’t resolving any bugs in the Swift bug tracker (or at least, not intentionally so).


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@gribozavr
Copy link
Contributor

@swift-ci Please Python lint

@gribozavr
Copy link
Contributor

@alexwlchan Thanks! Could you take a look at lint issues?

* The original version had an off-by-one error in the line number
  (assuming you use the GitHub model of starting lines at 1).  Fix this
  error, and move to using `enumerate()` instead of tracking the
  `count` variable ourselves.
* Add a comment about the exit codes to the help message.
* Increase clarity in variable/argument names.
@alexwlchan
Copy link
Contributor Author

@gribozavr Lint issues should be fixed.

@gottesmm
Copy link
Contributor

@swift-ci Please Python lint

@gribozavr gribozavr merged commit b45cdd3 into swiftlang:master Jun 19, 2016
@alexwlchan alexwlchan deleted the awlc/patch-3 branch June 19, 2016 10:57
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.

3 participants