[tracker/subqueries] data-generators: Use nco:default-contact-me



commit c385c6b5d5a28c96882af06f124f906ba6848ae4
Author: Jürg Billeter <j bitron ch>
Date:   Tue Dec 8 17:08:15 2009 +0100

    data-generators: Use nco:default-contact-me

 utils/data-generators/generate-data-for-gossip.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/utils/data-generators/generate-data-for-gossip.py b/utils/data-generators/generate-data-for-gossip.py
index a87a58d..b786831 100755
--- a/utils/data-generators/generate-data-for-gossip.py
+++ b/utils/data-generators/generate-data-for-gossip.py
@@ -139,7 +139,7 @@ def generate_mailfolder (folderuri):
     #print_property ("nmo:status", "abudabu", final=True)
 
 def generate_me ():
-    print_instance ("urn:uuid:buddy1", "nco:PersonContact")
+    print "nco:default-contact-me a nco:PersonContact ;"
     print_property ("nco:fullname", "Me Nokia")
     print_property ("nco:nameGiven", "Me")
     print_property ("nco:nameFamily", "Nokia")
@@ -191,7 +191,7 @@ def generate_im_messages (n_convs, n_channels, msgs_per_convs, friends_list, n_f
 
         print_property ("nmo:lastMessageDate", getPseudoRandomDate ())
 
-        print_property ("nmo:hasParticipant", "urn:uuid:buddy1", t = "uri");
+        print "\tnmo:hasParticipant nco:default-contact-me ;";
 
         if same_friend:
             print_anon_node ("nmo:hasParticipant", 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]