[sysadmin-bin: 125/168] doap-from-maintainers: Parse more MAINTAINERS files
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 125/168] doap-from-maintainers: Parse more MAINTAINERS files
- Date: Thu, 24 May 2012 20:01:57 +0000 (UTC)
commit 93f526b0de11b2c358587cdf04ce21bd9d2e5267
Author: Olav Vitters <olav bkor dhs org>
Date: Thu Jul 30 14:01:46 2009 +0200
doap-from-maintainers: Parse more MAINTAINERS files
doap-from-maintainers | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/doap-from-maintainers b/doap-from-maintainers
index 730c2ab..c936417 100755
--- a/doap-from-maintainers
+++ b/doap-from-maintainers
@@ -19,6 +19,8 @@ nr, name, email, uid = 0, None, None, None
for l in data.splitlines():
if l.startswith('#'): continue
+ data += "\n\n\n" # simplifies logic
+
nr += 1
if l == "":
@@ -51,5 +53,7 @@ for l in data.splitlines():
email = value
elif field == 'Userid':
uid = value
+ else:
+ name = None
semi_rdf.dump_rdf(nodes, sys.stdout)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]