/usr/share/pyshared/gwibber/microblog/util/custom.py is in gwibber-service 3.4.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | from os.path import join, exists
prv_file = join("/usr/share/gwibber/data", "twitter")
if exists(prv_file):
f = open(prv_file, "r")
try:
data = eval(f.read())
except:
pass
TWITTER_OAUTH_KEY = data["TWITTER_OAUTH_KEY"]
TWITTER_OAUTH_SECRET = data["TWITTER_OAUTH_SECRET"]
|