Commits

Anonymous committed 9c46b60

[svn r7307] Used wrong library for quoting in r7277.

This fixes #6366.

Comments (0)

Files changed (1)

0.10/HudsonTrac/HudsonTracPlugin.py

 """
 
 import time
+import urllib
 import urllib2
 from xml.dom import minidom
 from datetime import datetime
                           'successfully" etc messages.')
 
     def __init__(self):
-        api_url = urllib2.quote(self.job_url, '/%:@')
+        api_url = urllib.quote(self.job_url, '/%:@')
         if api_url[-1] != '/':
             api_url += '/'
         api_url += 'api/xml'