Skip to content

Commit

Permalink
Code cleanup after adding python3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
lins05 committed Jan 17, 2016
1 parent 0bab336 commit 71a2c40
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.swp
#*
local_settings.py
slackbot_settings.py
/build
/dist
/*.egg-info
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ A chat bot for [Slack](https://slack.com) inspired by [llimllib/limbo](https://g
* Simple plugins mechanism
* Messages can be handled concurrently
* Automatically reconnect to slack when connection is lost
* Supports Python3

## Installation

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
requests>=2.4.0
websocket-client>=0.22.0
importlib>=1.0.3; python_version < '3.0'
slacker>=0.5.5
six>=1.10.0
5 changes: 3 additions & 2 deletions slackbot/bot.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from glob import glob
import imp
import importlib
import logging
import os
import re
import time

from glob import glob
from six.moves import _thread

from slackbot import settings
Expand Down
3 changes: 2 additions & 1 deletion slackbot/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf8 -*-
#coding: UTF-8


import os
import logging
Expand Down

0 comments on commit 71a2c40

Please sign in to comment.