Add is_user_activity() to ActivityBundle #701

This commit is contained in:
Aleksey Lim 2009-08-28 12:06:43 +00:00
parent d304f72872
commit 78d64031c3

View File

@ -400,3 +400,6 @@ class ActivityBundle(Bundle):
os.remove(path)
self._uninstall(install_path)
def is_user_activity(self):
return self.get_path().startswith(env.get_user_activities_path())