Skip to content
This repository has been archived by the owner. It is now read-only.

Log sbws version info line on startup #232

Merged
merged 1 commit into from Jul 13, 2018
Merged

Log sbws version info line on startup #232

merged 1 commit into from Jul 13, 2018

Conversation

Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
@pastly
Copy link
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
Contributor

@juga0 juga0 left a comment

except for the comments, lgtm

@@ -7,6 +7,10 @@
from sbws.util.config import validate_config
from sbws.util.config import configure_logging
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
Contributor

@juga0 juga0 Jul 13, 2018

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
2 checks passed
@pastly
Copy link
Member Author

@pastly pastly commented Jul 13, 2018

Made variable name changes as requested and merged.

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