Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Log sbws version info line on startup#232

Merged
pastly merged 1 commit intomasterfrom
ticket26751
Jul 13, 2018
Merged

Log sbws version info line on startup#232
pastly merged 1 commit intomasterfrom
ticket26751

Conversation

@pastly
Copy link
Copy Markdown
Member

@pastly pastly commented Jul 11, 2018

Produces a line such as the following.

[2018-07-11 11:27:35,464] [sbws.sbws] [INFO] sbws 0.6.1-dev with python 3.6.5 on Darwin-15.6.0-x86_64-i386-64bit, stem 1.6.0-dev, and requests 2.18.4

Copy link
Copy Markdown
Contributor

@juga0 juga0 left a comment

Choose a reason for hiding this comment

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

except for the comments, lgtm

Comment thread sbws/sbws.py
from sbws.util.parser import create_parser
from sbws import __version__ as SBWS_VERSION
from stem import __version__ as STEM_VERSION
from requests.__version__ import __version__ as REQ_VERSION
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i'd just not use capitals here, since version is not in capitals.
I'd use as version for sbws version and stem_version, requests_version

@pastly pastly merged commit cccfc73 into master Jul 13, 2018
@pastly
Copy link
Copy Markdown
Member Author

pastly commented Jul 13, 2018

Made variable name changes as requested and merged.

@pastly pastly deleted the ticket26751 branch July 13, 2018 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants