gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1658703 - /gump/live/python/gump/core/build/gradle.py
Date Tue, 10 Feb 2015 13:07:39 GMT
Author: bodewig
Date: Tue Feb 10 13:07:39 2015
New Revision: 1658703

URL: http://svn.apache.org/r1658703
Log:
unescape repository URI, and add a comma between entries

Modified:
    gump/live/python/gump/core/build/gradle.py

Modified: gump/live/python/gump/core/build/gradle.py
URL: http://svn.apache.org/viewvc/gump/live/python/gump/core/build/gradle.py?rev=1658703&r1=1658702&r2=1658703&view=diff
==============================================================================
--- gump/live/python/gump/core/build/gradle.py (original)
+++ gump/live/python/gump/core/build/gradle.py Tue Feb 10 13:07:39 2015
@@ -38,7 +38,8 @@ from time import strftime
 ###############################################################################
 
 def record_proxy(init_stream, port, prefix, uri):
-    init_stream.write("'%s': 'http://localhost:%s:%s'" % (uri, port, prefix))
+    init_stream.write("'%s': 'http://localhost:%s:%s',\n" % (uri.replace('\\', ''),
+                                                             port, prefix))
 
 def locateGradleProjectFile(project):
     """Return Gradle project file location"""
@@ -256,7 +257,8 @@ apply plugin:MavenRepoProxyPlugin
 
 class MavenRepoProxyPlugin implements Plugin<Gradle> {
 
-    private static final def REPOS_MAP = [""")
+    private static final def REPOS_MAP = [
+""")
                     % (project.getName(), strftime('%Y-%m-%d %H:%M:%S')))
         if not self.run.getEnvironment().noMvnRepoProxy:
             for (_name, prefix, url) in PROXY_CONFIG:



Mime
View raw message