1
# Copyright (c) Paul Tagliamonte, 2012, under the terms of dput-ng.
2
# Example: https://twitter.com/paultag/status/257981606139133954
9
def tweet(changes, profile, interface):
10
tweet = "I've just uploaded %s/%s to %s's %s suite #debian" % (
14
changes['Distribution']
19
obj = json.load(open(os.path.expanduser("~/.twitter.json"), 'r'))
21
consumer_key=obj['consumer_key'],
22
consumer_secret=obj['consumer_secret'],
23
access_token_key=obj['oath_token'],
24
access_token_secret=obj['oath_secret']