Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Upgraded dependencies and added support for Python 3 #10

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

blarghmatey
Copy link
Member

  • Ran 2to3 to update for working in Python 3
  • Migrated to using Poetry for dependencies and upgraded versions
  • Addressed broken tests

- Ran 2to3 to update for working in Python 3
- Migrated to using Poetry for dependencies and upgraded versions
- Addressed broken tests
@@ -61,7 +62,7 @@ def configure_logging(level_override=None, config=Config):
address = None
if config.LOG_FILE_PATH:
address = config.LOG_FILE_PATH
elif os.path.exists('/dev/log'):
elif Path('/dev/log').is_file():
Copy link

Choose a reason for hiding this comment

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

Should this be is_dir?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm pretty sure it's intended to be a file object and not a directory.

@shaidar
Copy link

shaidar commented Jun 2, 2020

👍

@blarghmatey blarghmatey merged commit 391c65e into master Jun 2, 2020
@blarghmatey blarghmatey deleted the py3_update branch June 2, 2020 14:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants