Skip to content

Instantly share code, notes, and snippets.

@legoktm
Forked from jayvdb/user-config.py
Created August 8, 2014 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legoktm/5a2417890f124c6cd7a5 to your computer and use it in GitHub Desktop.
Save legoktm/5a2417890f124c6cd7a5 to your computer and use it in GitHub Desktop.
import os
family = os.environ.get('FAMILY', 'wikipedia')
mylang = os.environ.get('LANGUAGE', 'en')
if os.environ.get('TRAVIS_REPO_SLUG', None) == 'wikimedia/pywikibot-core':
usernames[family][mylang] = 'Pywikibot-test'
usernames['wikipedia']['en'] = 'Pywikibot-test'
password_file = os.path.expanduser('~/.pywikibot/passwordfile')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment