Rename the 'humbug' API module to 'zulip'.
(imported from commit b3a3d7c05459cbb0110cd0fbe2197d779f3a6264)
This commit is contained in:
parent
9aaefde9b2
commit
084847b0d7
26 changed files with 78 additions and 78 deletions
|
@ -4,7 +4,7 @@ import sys
|
|||
import optparse
|
||||
import ConfigParser
|
||||
|
||||
import humbug
|
||||
import zulip
|
||||
|
||||
CONFIGFILE = os.path.expanduser("~/.humbug_twitterrc")
|
||||
|
||||
|
@ -54,7 +54,7 @@ parser.add_option('--limit-tweets',
|
|||
type='int',
|
||||
help='Maximum number of tweets to push at once')
|
||||
|
||||
parser.add_option_group(humbug.generate_option_group(parser))
|
||||
parser.add_option_group(zulip.generate_option_group(parser))
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if not options.twitter_id:
|
||||
|
@ -101,7 +101,7 @@ try:
|
|||
except ConfigParser.NoOptionError:
|
||||
user_id = options.twitter_id
|
||||
|
||||
client = humbug.Client(
|
||||
client = zulip.Client(
|
||||
email=options.user,
|
||||
api_key=options.api_key,
|
||||
site=options.site,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue