Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2010-03-10 10:09:13 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2010-03-10 10:09:13 (GMT)
commitfb81d3a51f29b0bf71843bb5540e508b6d480c25 (patch)
tree21366b5f522389109f973510070b65ac4b7b8ab8 /src
parent5363b33ed684a46e5af0e3af3a7d37c7900c97c7 (diff)
Clean up some .xoj registry code #1098
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/journal/journalentrybundle.py2
-rw-r--r--src/jarabe/model/bundleregistry.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/journal/journalentrybundle.py b/src/jarabe/journal/journalentrybundle.py
index 9e68c06..41777c7 100644
--- a/src/jarabe/journal/journalentrybundle.py
+++ b/src/jarabe/journal/journalentrybundle.py
@@ -40,7 +40,7 @@ class JournalEntryBundle(Bundle):
def __init__(self, path):
Bundle.__init__(self, path)
- def install(self, install_path, uid=''):
+ def install(self, uid=''):
if os.environ.has_key('SUGAR_ACTIVITY_ROOT'):
install_dir = os.path.join(os.environ['SUGAR_ACTIVITY_ROOT'],
'data')
diff --git a/src/jarabe/model/bundleregistry.py b/src/jarabe/model/bundleregistry.py
index 5abd654..86a2738 100644
--- a/src/jarabe/model/bundleregistry.py
+++ b/src/jarabe/model/bundleregistry.py
@@ -364,7 +364,7 @@ class BundleRegistry(gobject.GObject):
install_dir = env.get_user_activities_path()
if isinstance(bundle, JournalEntryBundle):
- install_path = bundle.install(install_dir, uid)
+ install_path = bundle.install(uid)
else:
install_path = bundle.install(install_dir)