~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/fileservice_lib/action.py

  • Committer: Matt Giuca
  • Date: 2009-12-15 03:52:41 UTC
  • Revision ID: matt.giuca@gmail.com-20091215035241-6gxieai142715m8p
fileservice_lib: Proper URL quoting on svnrepomkdir and svnrepostat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
729
729
    """
730
730
    path = fields.getfirst('path')
731
731
    logmsg = fields.getfirst('logmsg')
732
 
    url = ivle.conf.svn_addr + "/" + path
 
732
    url = ivle.conf.svn_addr + "/" + urllib.quote(path)
733
733
    try:
734
734
        svnclient.mkdir(url, log_message=logmsg)
735
735
    except pysvn.ClientError, e:
743
743
    Reads fields: 'path'
744
744
    """
745
745
    path = fields.getfirst('path')
746
 
    url = ivle.conf.svn_addr + "/" + path
 
746
    url = ivle.conf.svn_addr + "/" + urllib.quote(path)
747
747
    svnclient.exception_style = 1
748
748
 
749
749
    try: