~sil/desktopcouch/create-oauth-tokens-startup

Viewing all changes in revision 19.1.1.

  • Committer: Elliot Murphy
  • Date: 2009-07-28 17:56:10 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: elliot@canonical.com-20090728175610-9v72pm283papxm9s
Don't trigger the desktopcouch path searching and automatic couch startup
behavior when desktopcouch is imported, this module is used in server
environments also and thats not very friendly for servers.

Also: never, ever call sys.exit() during module import. raise an 
ImportError instead so that it's possible to debug.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: