community-commits mailing list archives

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

URL: http://svn.apache.org/r1672963
Log:
fixed code style consistency (learning python...)

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=1672963&r1=1672962&r2=1672963&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/import/rdfparse.py (original)
+++ comdev/projects.apache.org/scripts/import/rdfparse.py Sun Apr 12 01:45:40 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 " + url + ": %s" % err)
+        print("Error when reading %s: %s" % (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