Add is_user_activity() to ActivityBundle #701

master
Aleksey Lim 15 years ago
parent d304f72872
commit 78d64031c3

@ -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())

Loading…
Cancel
Save