[conduit/tracker] Make default uri's more trackerish
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/tracker] Make default uri's more trackerish
- Date: Fri, 19 Jun 2009 19:34:56 -0400 (EDT)
commit 722408cd1fd4469e62e09b4faaa6943d9490770b
Author: John Carr <john carr unrouted co uk>
Date: Wed Jun 17 16:00:47 2009 +0100
Make default uri's more trackerish
conduit/modules/TrackerModule/tralchemy/core.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/conduit/modules/TrackerModule/tralchemy/core.py b/conduit/modules/TrackerModule/tralchemy/core.py
index b91cedb..fb1684d 100644
--- a/conduit/modules/TrackerModule/tralchemy/core.py
+++ b/conduit/modules/TrackerModule/tralchemy/core.py
@@ -77,7 +77,7 @@ class Resource(object):
@classmethod
def create(cls, **kwargs):
- o = cls(kwargs.get('uid', 'http://localhost/resource/%s' % str(uuid.uuid4())))
+ o = cls(kwargs.get('uid', 'urn:uuid:%s' % str(uuid.uuid4())))
for k, v in kwargs.iteritems():
if k == "uid" or k =="commit":
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]