community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1672964 - /comdev/projects.apache.org/scripts/import/rdfparse.py
Date Sun, 12 Apr 2015 01:48:48 GMT
Author: hboutemy
Date: Sun Apr 12 01:48:47 2015
New Revision: 1672964

URL: http://svn.apache.org/r1672964
Log:
improved error message: display project name

Modified:
    comdev/projects.apache.org/scripts/import/rdfparse.py

Modified: comdev/projects.apache.org/scripts/import/rdfparse.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/import/rdfparse.py?rev=1672964&r1=1672963&r2=1672964&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/rdfparse.py (original)
+++ comdev/projects.apache.org/scripts/import/rdfparse.py Sun Apr 12 01:48:47 2015
@@ -82,7 +82,7 @@ for s in itemlist :
                     f.write(json.dumps(pjson, sort_keys=True, indent=0))
                     f.close()
     except Exception as err:
-        print("Error when reading %s: %s" % (url, err))
+        print("Error when reading %s's doap file %s: %s" % (prname, url, err))
 
 with open ("../../site/json/foundation/projects.json", "w") as f:
     f.write(json.dumps(projects, sort_keys=True, indent=0))



Mime
View raw message