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

« back to all changes in this revision

Viewing changes to services/serveservice

  • Committer: William Grant
  • Date: 2009-02-17 03:24:50 UTC
  • mto: (1099.1.143 new-dispatch)
  • mto: This revision was merged to the branch mainline in revision 1100.
  • Revision ID: grantw@unimelb.edu.au-20090217032450-r7z6k1k5i9urexe8
Support downloading of a selection of files as a zip.
Again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
if len(args) > 1:
68
68
    # Mangle the paths - we want the basename of their dirname in front.
69
69
    paths = []
 
70
    dir = os.path.dirname(args[0])
70
71
    for path in args:
71
72
        assert os.path.dirname(path) == dir
72
73
        paths.append(os.path.join(os.path.basename(dir),