[sysadmin-bin: 103/168] Fix handling of modules without any maintainer information
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 103/168] Fix handling of modules without any maintainer information
- Date: Thu, 24 May 2012 20:00:06 +0000 (UTC)
commit 47fa263e220fafcd184c171e631088fb67af728d
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Apr 24 19:27:22 2009 -0400
Fix handling of modules without any maintainer information
If we didn't have $dir/gnome_doap at all, we were still trying
to use the parse results.
build-repo-list | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/build-repo-list b/build-repo-list
index b5e2b5d..8c9ef73 100755
--- a/build-repo-list
+++ b/build-repo-list
@@ -117,16 +117,16 @@ elif options.output == 'doap':
file_nodes = semi_rdf.read_rdf(f)
f.close()
- for node in file_nodes:
- if node.name != (DOAP, "Project"):
- continue
+ for node in file_nodes:
+ if node.name != (DOAP, "Project"):
+ continue
- node.remove_property((GNOME, "GitRepository"))
- node.add_property((GNOME, "GitRepository"),
- None,
- semi_rdf.UrlResource("git://git.gnome.org/%s" % repo.shortname))
+ node.remove_property((GNOME, "GitRepository"))
+ node.add_property((GNOME, "GitRepository"),
+ None,
+ semi_rdf.UrlResource("git://git.gnome.org/%s" % repo.shortname))
- nodes.extend(file_nodes)
+ nodes.extend(file_nodes)
iter_repos(paths, add_file)
semi_rdf.dump_rdf(nodes, sys.stdout)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]