[sysadmin-bin: 106/168] When generating DOAP files, use resources for foaf:mbox



commit 7af56f52c599ce63b7d5c0cb143ca098d78ac460
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Apr 24 19:34:54 2009 -0400

    When generating DOAP files, use resources for foaf:mbox
    
    Bug was resulting in a string literal <foaf:mbox>mailto:...</foaf:mbox>

 doap-from-maintainers |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/doap-from-maintainers b/doap-from-maintainers
index ce35326..730c2ab 100755
--- a/doap-from-maintainers
+++ b/doap-from-maintainers
@@ -34,7 +34,7 @@ for l in data.splitlines():
 
                 maintainernode.add_property((FOAF, "mbox"),
                                             None,
-                                            "mailto:"; + semi_rdf.UrlResource(email))
+                                            semi_rdf.UrlResource("mailto:"; + email))
             projectnode.add_property((DOAP, "maintainer"), None, maintainernode)
             nodes.append(maintainernode)
 



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