Get rid of pygtk.require. It doesn't make a lot of sense
and recent apps are not using it anyway.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import base64
|
||||
import logging
|
||||
|
||||
import pygtk
|
||||
pygtk.require('2.0')
|
||||
import gtk, gobject
|
||||
import gtk
|
||||
import gobject
|
||||
|
||||
from sugar.p2p import Stream
|
||||
from sugar.p2p import network
|
||||
|
||||
@@ -627,7 +627,7 @@ def runTests():
|
||||
runner.run(suite)
|
||||
|
||||
def main():
|
||||
import pygtk, gtk
|
||||
import gtk
|
||||
global ps
|
||||
ps = PresenceService.get_instance()
|
||||
ps.start()
|
||||
|
||||
Reference in New Issue
Block a user