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

« back to all changes in this revision

Viewing changes to ivle/fileservice_lib/listing.py

  • Committer: William Grant
  • Date: 2009-04-07 03:48:23 UTC
  • mfrom: (1165.1.46 submissions)
  • Revision ID: grantw@unimelb.edu.au-20090407034823-snd6wa5p6otzq073
Allow students to submit projects from personal or group repositories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
327
327
        filename = os.path.basename(fullpath)
328
328
    text_status = status.text_status
329
329
    d = {'svnstatus': str(text_status)}
 
330
 
 
331
    if status.entry is not None:
 
332
        d.update({
 
333
           'svnurl': status.entry.url,
 
334
           'svnrevision': status.entry.revision.number
 
335
             if status.entry.revision.kind == pysvn.opt_revision_kind.number
 
336
             else None,
 
337
        })
 
338
 
330
339
    try:
331
340
        d.update(_fullpath_stat_fileinfo(fullpath))
332
341
    except OSError: