Skip to content

Instantly share code, notes, and snippets.

@jcollado
Created August 24, 2011 06:54
Show Gist options
  • Select an option

  • Save jcollado/1167446 to your computer and use it in GitHub Desktop.

Select an option

Save jcollado/1167446 to your computer and use it in GitHub Desktop.

Revisions

  1. jcollado created this gist Aug 24, 2011.
    9 changes: 9 additions & 0 deletions conf.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    class Mock(object):
    def __init__(self, *args):
    pass

    def __getattr__(self, name):
    return Mock

    for mod_name in ('pygtk', 'gtk', 'gobject', 'argparse'):
    sys.modules[mod_name] = Mock()