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

« back to all changes in this revision

Viewing changes to services/diffservice

  • Committer: William Grant
  • Date: 2009-01-13 01:36:15 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1123
Merge setup-refactor branch. This completely breaks existing installations;
every path (both filesystem and Python) has changed. Do not upgrade without
knowing what you are doing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
# A CGI script for generating a diff report page in HTML. It is intended to be 
25
25
# run from the trampoline by the Diff application.
26
26
 
27
 
from common import cgirequest
28
 
import common.svn
29
27
import cgi
30
28
import os.path
31
29
import pysvn
32
30
import re
33
31
 
 
32
from ivle import cgirequest
 
33
import ivle.svn
 
34
 
34
35
def htmlfy_diff(difftext):
35
36
    """Adds HTML markup to a udiff string"""
36
37
    output = cgi.escape(difftext)
70
71
fields = req.get_fieldstorage()
71
72
field_r = fields.getlist("r")
72
73
for ri in range(len(field_r)):
73
 
    r = common.svn.revision_from_string(field_r[ri])
 
74
    r = ivle.svn.revision_from_string(field_r[ri])
74
75
    if r is not None:
75
76
        revs[ri] = r
76
77