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

« back to all changes in this revision

Viewing changes to scripts/serveservice

  • Committer: dcoles
  • Date: 2008-04-04 04:21:17 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:722
s/serveservice: Show the url rather than the local path on not-found error

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
            "The path specified is invalid.")
65
65
    elif not os.access(filename, os.R_OK):
66
66
        req.throw_error(req.HTTP_NOT_FOUND,
67
 
            "The specified file (%s) does not exist." % path)
 
67
            "The specified file (%s) does not exist." % urlpath)
68
68
     # If it's a directory, serve as a zip file
69
69
    if os.path.isdir(filename):
70
70
        zipmode = True