58a79eb123
Modify code to use activity type id instead, except from mapping service to activity.
12 lines
240 B
Python
12 lines
240 B
Python
from sugar.conf.ActivityRegistry import _ActivityRegistry
|
|
from sugar.conf.Profile import Profile
|
|
|
|
__registry = _ActivityRegistry()
|
|
__profile = Profile()
|
|
|
|
def get_activity_registry():
|
|
return __registry
|
|
|
|
def get_profile():
|
|
return __profile
|