/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2007-11-22 15:28:53 UTC
  • mto: This revision was merged to the branch mainline in revision 405.
  • Revision ID: abentley@panoramicfeedback.com-20071122152853-uj4cp823q5es7pvt
Stop pygtk complaint: pygtk.require() must be called before importing gtk

Show diffs side-by-side

added added

removed removed

Lines of Context:
700
700
    from unittest import TestSuite
701
701
    import tests
702
702
    import sys
 
703
    import pygtk
 
704
    pygtk.require('2.0')
703
705
    default_encoding = sys.getdefaultencoding()
704
706
    try:
705
707
        result = TestSuite()